From 8920e42222a8c539161a650997dcf1c22b23c0a0 Mon Sep 17 00:00:00 2001 From: Moe <moe@chocola.dev> Date: Thu, 12 May 2022 10:29:02 +0700 Subject: [PATCH] Sync products with flutter_lints v2.0.1 --- lib/screens/products.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/screens/products.dart b/lib/screens/products.dart index 866fb95..405b395 100644 --- a/lib/screens/products.dart +++ b/lib/screens/products.dart @@ -35,8 +35,7 @@ class _ProductsState extends State<Products> { crossAxisCount: deviceInformation.orientation == Orientation.portrait ? 2 : 5, children: List.generate(data!.length, (index) { return ProductBox( - imageUrl: - 'https://nekoya.moe.team/img/' + data[index]['IMAGE'], + imageUrl: "https://nekoya.moe.team/img/${data[index]['IMAGE']}", title: data[index]['TITLE'], callback: () { showModalBottomSheet(