|
5 | 5 | - name: Remove generated code |
6 | 6 | rmdir: step_01 |
7 | 7 | - name: Create project |
8 | | - flutter: create myartist |
| 8 | + flutter: create -e myartist |
9 | 9 | - name: Strip DEVELOPMENT_TEAM |
10 | 10 | strip-lines-containing: DEVELOPMENT_TEAM = |
11 | 11 | path: myartist/ios/Runner.xcodeproj/project.pbxproj |
@@ -33,39 +33,27 @@ steps: |
33 | 33 | } |
34 | 34 | ] |
35 | 35 | } |
36 | | - - name: Replace pubspec.yaml |
37 | | - path: myartist/pubspec.yaml |
38 | | - replace-contents: | |
39 | | - name: myartist |
40 | | - description: A new Flutter project. |
41 | | - publish_to: "none" |
42 | | - version: 1.0.0 |
43 | | - |
44 | | - environment: |
45 | | - sdk: ^3.8.0-0 |
46 | | - |
47 | | - dependencies: |
48 | | - flutter: |
49 | | - sdk: flutter |
50 | | - |
51 | | - dev_dependencies: |
52 | | - flutter_test: |
53 | | - sdk: flutter |
54 | | - |
55 | | - flutter: |
56 | | - uses-material-design: true |
57 | | - assets: |
58 | | - - assets/images/ |
59 | | - - assets/images/playlists/ |
60 | | - - assets/images/albums/ |
61 | | - - assets/images/artists/ |
62 | | - - assets/images/news/ |
63 | 36 | - name: Add adaptive_breakpoints adaptive_components adaptive_navigation animations ... |
64 | 37 | path: myartist |
65 | 38 | flutter: pub add adaptive_breakpoints adaptive_components adaptive_navigation animations collection cupertino_icons desktop_window dynamic_color english_words flutter_bloc freezed_annotation go_router material_color_utilities:any universal_platform url_launcher |
66 | 39 | - name: Add build_runner flutter_lints freezed |
67 | 40 | path: myartist |
68 | 41 | flutter: pub add --dev build_runner flutter_lints freezed |
| 42 | + - name: Add assets |
| 43 | + path: myartist/pubspec.yaml |
| 44 | + patch-u: | |
| 45 | + --- b/boring_to_beautiful/step_01/pubspec.yaml |
| 46 | + +++ a/boring_to_beautiful/step_01/pubspec.yaml |
| 47 | + @@ -34,3 +34,9 @@ dev_dependencies: |
| 48 | + |
| 49 | + flutter: |
| 50 | + uses-material-design: true |
| 51 | + + assets: |
| 52 | + + - assets/images/ |
| 53 | + + - assets/images/playlists/ |
| 54 | + + - assets/images/albums/ |
| 55 | + + - assets/images/artists/ |
| 56 | + + - assets/images/news/ |
69 | 57 | - name: Patch macos/Runner/DebugProfile.entitlements |
70 | 58 | path: myartist/macos/Runner/DebugProfile.entitlements |
71 | 59 | patch-u: | |
|
95 | 83 | + <true/> |
96 | 84 | </dict> |
97 | 85 | </plist> |
98 | | - - name: Drop test/widget_test.dart |
99 | | - rm: myartist/test/widget_test.dart |
100 | 86 | - name: Replace lib/main.dart |
101 | 87 | path: myartist/lib/main.dart |
102 | 88 | replace-contents: | |
@@ -73259,7 +73245,7 @@ steps: |
73259 | 73245 | --- b/boring_to_beautiful/step_04/lib/src/shared/app.dart |
73260 | 73246 | +++ a/boring_to_beautiful/step_04/lib/src/shared/app.dart |
73261 | 73247 | @@ -20,10 +20,7 @@ class MyApp extends StatefulWidget { |
73262 | | - |
| 73248 | + |
73263 | 73249 | class _MyAppState extends State<MyApp> { |
73264 | 73250 | final settings = ValueNotifier( |
73265 | 73251 | - ThemeSettings( |
@@ -73615,7 +73601,7 @@ steps: |
73615 | 73601 | +++ a/boring_to_beautiful/final/lib/src/shared/views/outlined_card.dart |
73616 | 73602 | @@ -15,20 +15,55 @@ class OutlinedCard extends StatefulWidget { |
73617 | 73603 | } |
73618 | | - |
| 73604 | + |
73619 | 73605 | class _OutlinedCardState extends State<OutlinedCard> { |
73620 | 73606 | + bool _hovered = false; |
73621 | 73607 | + |
|
0 commit comments