upgrade packages
This commit is contained in:
@@ -76,10 +76,15 @@ class _BoxAdditionState extends State<BoxAddition> {
|
||||
child: Center(
|
||||
child: Container(
|
||||
width: 250,
|
||||
child: FlatButton(
|
||||
child: Text('Add box'),
|
||||
color: primaryColor,
|
||||
textColor: Colors.white,
|
||||
child: TextButton(
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: primaryColor),
|
||||
child: Text(
|
||||
'Add box',
|
||||
style: TextStyle(color: Colors.white),
|
||||
),
|
||||
// color: primaryColor,
|
||||
// textColor: Colors.white,
|
||||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
@@ -90,10 +95,13 @@ class _BoxAdditionState extends State<BoxAddition> {
|
||||
child: Center(
|
||||
child: Container(
|
||||
width: 250,
|
||||
child: FlatButton(
|
||||
child: Text('Save box'),
|
||||
color: primaryColor,
|
||||
textColor: Colors.white,
|
||||
child: TextButton(
|
||||
style: TextButton.styleFrom(
|
||||
backgroundColor: primaryColor),
|
||||
child: Text('Save box',
|
||||
style: TextStyle(color: Colors.white)),
|
||||
// color: primaryColor,
|
||||
// textColor: Colors.white,
|
||||
onPressed: () {
|
||||
Navigator.pop(context);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user