File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed
Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx1536M
22
3+ android.enableR8 =true
Original file line number Diff line number Diff line change @@ -17,16 +17,7 @@ class Home extends StatelessWidget {
1717 backgroundColor: Colors .red,
1818 ),
1919 body: Center (
20- child: Text (
21- 'Hello, ninjas!' ,
22- style: TextStyle (
23- fontSize: 20.0 ,
24- fontWeight: FontWeight .bold,
25- letterSpacing: 2.0 ,
26- color: Colors .grey[600 ],
27- fontFamily: 'IndieFlower' ,
28- ),
29- ),
20+ child: Image .asset ('assets/snowboarding_04.jpg' ),
3021 ),
3122 floatingActionButton: FloatingActionButton (
3223 onPressed: () {},
Original file line number Diff line number Diff line change @@ -41,9 +41,8 @@ flutter:
4141 uses-material-design : true
4242
4343 # To add assets to your application, add an assets section, like this:
44- # assets:
45- # - images/a_dot_burr.jpeg
46- # - images/a_dot_ham.jpeg
44+ assets :
45+ - assets/
4746
4847 # An image asset can refer to one or more resolution-specific "variants", see
4948 # https://flutter.dev/assets-and-images/#resolution-aware.
You can’t perform that action at this time.
0 commit comments