diff --git a/lib/screens/home.dart b/lib/screens/home.dart index d99f55a..8f3a43f 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -273,13 +273,16 @@ class HomePage extends StatelessWidget { ), - Positioned.fill( - left:127, + Positioned( + left:145, top:9, + child: + Container( + width: 32, + height: 32, child: Image.asset( - Data.recipes[index].iconUrl, - fit: BoxFit.cover, - ), + Data.recipes[index].iconUrl, + ), ), ), Positioned( diff --git a/pubspec.yaml b/pubspec.yaml index e4880b2..1047120 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -67,6 +67,7 @@ flutter: # - images/a_dot_ham.jpeg assets: - assets/images/ + - assets/images/Icons/ # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware