add missing const

This commit is contained in:
Moe Poi ~ 2022-04-23 03:48:59 +07:00
parent 7cbf976755
commit 11ec76ad9d

View file

@ -13,11 +13,11 @@ class _ProductsState extends State<Products> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Color(0xff1b1c1e),
backgroundColor: const Color(0xff1b1c1e),
appBar: AppBar(
title: const Text('Nekoya'),
centerTitle: true,
backgroundColor: Color(0xff212226),
backgroundColor: const Color(0xff212226),
),
body: FutureBuilder<dynamic>(
future: getProducts(),