Advertisement
Guest User

row

a guest
Jul 11th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.89 KB | None | 0 0
  1.  floatingActionButton: Row(
  2.         mainAxisAlignment: MainAxisAlignment.end,
  3.         children: <Widget>[
  4.           FloatingActionButton(
  5.             onPressed: () => _counterBloc.onIncrement(),
  6.             tooltip: 'Increment',
  7.             child: Icon(Icons.add),
  8.           ),
  9.           SizedBox(width: 10),
  10.           FloatingActionButton(
  11.             onPressed: () => _counterBloc.onDecrement(),
  12.             tooltip: 'Decrement',
  13.             child: Icon(Icons.remove),
  14.           ),
  15.           SizedBox(width: 10),
  16.           FloatingActionButton(
  17.             onPressed: () => _counterBloc.onMultiply(),
  18.             tooltip: 'Multiply',
  19.             child: Text('X'),
  20.           ),
  21.           SizedBox(width: 10),
  22.           FloatingActionButton(
  23.             onPressed: () => _counterBloc.onDivide(),
  24.             tooltip: 'Divide',
  25.             child: Text('/'),
  26.           ),
  27.         ],
  28.       ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement