Sync cart box with flutter_lints v2.0.1
This commit is contained in:
parent
136cd4753e
commit
cf32fa598f
1 changed files with 4 additions and 4 deletions
|
@ -82,10 +82,10 @@ class _CartBoxState extends State<CartBox> {
|
|||
onPressed: (){
|
||||
widget.minus();
|
||||
},
|
||||
child: const Text("-"),
|
||||
style: ButtonStyle(
|
||||
backgroundColor: MaterialStateProperty.all<Color>(const Color(0xff8B0000)),
|
||||
)
|
||||
),
|
||||
child: const Text("-")
|
||||
),
|
||||
Text(widget.quantity.toString(),
|
||||
style: const TextStyle(
|
||||
|
@ -97,10 +97,10 @@ class _CartBoxState extends State<CartBox> {
|
|||
onPressed: (){
|
||||
widget.plus();
|
||||
},
|
||||
child: const Text("+"),
|
||||
style: ButtonStyle(
|
||||
backgroundColor: MaterialStateProperty.all<Color>(const Color(0xff8B0000)),
|
||||
)
|
||||
),
|
||||
child: const Text("+")
|
||||
)
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue