Changed the red accent to a darker red

This commit is contained in:
Matthew Patrick 2022-04-24 00:51:51 +07:00
parent b57a81de97
commit e958a24353
2 changed files with 4 additions and 4 deletions

View file

@ -19,14 +19,14 @@ class _ProductBoxState extends State<ProductBox> {
color: Color(0xff212226),
child: InkWell(
onTap: () {},
splashColor: Colors.red.shade900,
highlightColor: Colors.red.shade900,
splashColor: Color(0xff8B0000),
highlightColor: Color(0xff8B0000),
child: Column(
children: [
CachedNetworkImage(
imageUrl: widget.imageUrl,
placeholder: (context, url) => const CircularProgressIndicator(
color: Colors.red,
color: Color(0xff8B0000),
),
errorWidget: (context, url, error) =>
Image.asset('assets/image-error.webp'),

View file

@ -36,7 +36,7 @@ class _ProductsState extends State<Products> {
}
return const Center(
child: CircularProgressIndicator(
color: Colors.red,
color: Color(0xff8B0000),
),
);
},