Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 2.41 KB | None | 0 0
  1. PreferredSize(
  2.         preferredSize: Size(null, 80),
  3.         child: Container(
  4.           height: 80,
  5.           color: Colors.deepOrange,
  6.           width: MediaQuery.of(context).size.width,
  7.           padding: EdgeInsets.only(top: _mediaQuery.padding.top),
  8.           child: Column(
  9.             mainAxisAlignment: MainAxisAlignment.center,
  10.             children: <Widget>[
  11.               Row(
  12.                 crossAxisAlignment: CrossAxisAlignment.center,
  13.                 children: <Widget>[
  14.                   IconButton(
  15.                     icon: Icon(Icons.menu),
  16.                     onPressed: () {},
  17.                   ),
  18.                   SizedBox(width: 25),
  19.                   Text(
  20.                     'Primary',
  21.                     style: Theme.of(context).textTheme.headline,
  22.                   ),
  23.                   SizedBox(width: 45),
  24.                   Expanded(
  25.                                       child: Row(
  26.                       mainAxisAlignment: MainAxisAlignment.spaceEvenly,
  27.                       children: <Widget>[
  28.                         Column(
  29.                           children: <Widget>[
  30.                             Row(
  31.                               children: <Widget>[
  32.                                 Icon(Icons.gamepad),
  33.                                 SizedBox(
  34.                                   child: Checkbox(
  35.                                     onChanged: (bool value) {},
  36.                                     value: false,
  37.                                   ),
  38.                                 )
  39.                               ],
  40.                             )
  41.                           ],
  42.                         ),
  43.                         Column(
  44.                           children: <Widget>[
  45.                             Row(
  46.                               children: <Widget>[
  47.                                 Icon(Icons.gamepad),
  48.                                 SizedBox(
  49.                                   child: Checkbox(
  50.                                     onChanged: (bool value) {},
  51.                                     value: false,
  52.                                   ),
  53.                                 )
  54.                               ],
  55.                             )
  56.                           ],
  57.                         ),
  58.                       ],
  59.                     ),
  60.                   )
  61.                 ],
  62.               ),
  63.             ],
  64.           ),
  65.         ),
  66.       ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement