upgrade packages

This commit is contained in:
tzw
2024-01-09 13:11:22 +06:30
parent cbd8ddad08
commit 3e1c61a9f6
32 changed files with 193 additions and 150 deletions

View File

@@ -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);
},

View File

@@ -76,7 +76,7 @@ class InvoiceListRow extends StatelessWidget {
? Padding(
padding: const EdgeInsets.only(left: 10.0),
child: InkWell(
child: RaisedButton(
child: ElevatedButton(
child: Row(
children: <Widget>[
Icon(