diff --git a/AppImages/3.PNG b/AppImages/3.PNG new file mode 100644 index 0000000..bdc1c9a Binary files /dev/null and b/AppImages/3.PNG differ diff --git a/AppImages/3.jpeg b/AppImages/3.jpeg deleted file mode 100644 index b457f03..0000000 Binary files a/AppImages/3.jpeg and /dev/null differ diff --git a/lib/Screens/HomeScreen.dart b/lib/Screens/HomeScreen.dart index ab3752e..01f2c44 100644 --- a/lib/Screens/HomeScreen.dart +++ b/lib/Screens/HomeScreen.dart @@ -2,7 +2,6 @@ import 'package:MtgSearcher/Networking/NetworkHelper.dart'; import 'package:MtgSearcher/Widgets/MagicCard.dart'; import 'package:flutter/material.dart'; -import '../Widgets/MagicCard.dart'; import '../Widgets/MagicCard.dart'; const url = "https://api.magicthegathering.io/v1/cards?name="; @@ -13,7 +12,7 @@ class HomeScreen extends StatefulWidget { } class _HomeScreenState extends State { - List cards; + var cards = []; var _textController = TextEditingController(); void search() async { @@ -92,11 +91,10 @@ class _HomeScreenState extends State { } return Padding( - padding: EdgeInsets.only(top: 50), - child: CircularProgressIndicator( - backgroundColor: Colors.green, - ), - ); + padding: EdgeInsets.only(top: 10), + child: CircularProgressIndicator( + backgroundColor: Colors.green, + )); }), ], ),