1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| class MyPage extends StatelessWidget { const MyPage({Key? key}) : super(key: key);
@override Widget build(BuildContext context) { return Center( child: Container( color: Colors.orange, child: Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, crossAxisAlignment: CrossAxisAlignment.center, children: [ Container( color: Colors.white, child: const Icon(Icons.settings,size: 50,), ), Container( color: Colors.red, child: const Icon(Icons.access_alarm,size: 50,), ), Container( color: Colors.blueAccent, child: const Icon(Icons.account_box,size: 50,), ), Container( color: Colors.grey, child: Row( mainAxisAlignment: MainAxisAlignment.spaceAround, children: const [ Icon(Icons.settings,size: 50,), Icon(Icons.access_alarm,size: 50,), Icon(Icons.account_box,size: 50,), ], ), ) ], ), ) ); } }
|