make android work
This commit is contained in:
@@ -12,10 +12,7 @@ class FlashcardsPage extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
//return const Center(child: Text('flashcards! flip flip'));
|
||||
final provider = Provider.of<QuoteProvider>(context);
|
||||
if (provider.randomQuoteText == "dummy" ||
|
||||
provider.randomQuoteText == "quote text") { provider.nextRandomQuote(); } // initialize the random quote variable
|
||||
return Card(
|
||||
margin: const EdgeInsets.all(Constants.edgeInset),
|
||||
child: Padding(
|
||||
|
||||
Reference in New Issue
Block a user