Add missing const

This commit is contained in:
Moe Poi ~ 2022-04-24 00:31:11 +07:00
parent e6d72d666a
commit 452984b474

View file

@ -16,7 +16,7 @@ class _ProductBoxState extends State<ProductBox> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Card( return Card(
color: Color(0xff212226), color: const Color(0xff212226),
child: InkWell( child: InkWell(
onTap: () {}, onTap: () {},
splashColor: Colors.red.shade900, splashColor: Colors.red.shade900,