diff --git a/frontend/lib/pages/flashcards.dart b/frontend/lib/pages/flashcards.dart index c1df1f8..ee62caf 100644 --- a/frontend/lib/pages/flashcards.dart +++ b/frontend/lib/pages/flashcards.dart @@ -1,10 +1,32 @@ import 'package:flutter/material.dart'; +import 'package:frontend/provider/quote_provider.dart'; +import 'package:frontend/model/quote.dart'; + +import 'package:provider/provider.dart'; + +import 'package:frontend/values/strings.dart'; +import 'package:frontend/values/constants.dart'; + class FlashcardsPage extends StatelessWidget { const FlashcardsPage({super.key}); @override Widget build(BuildContext context) { - return const Center(child: Text('flashcards! flip flip')); + //return const Center(child: Text('flashcards! flip flip')); + final provider = Provider.of(context); + return Card( + margin: const EdgeInsets.all(Constants.edgeInset), + child: Padding( + padding: const EdgeInsets.all(Constants.edgeInset), + child: Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + + ], + ), + ), + ); } } \ No newline at end of file diff --git a/frontend/lib/pages/list.dart b/frontend/lib/pages/list.dart index b0e99a4..fa7487a 100644 --- a/frontend/lib/pages/list.dart +++ b/frontend/lib/pages/list.dart @@ -37,10 +37,17 @@ class ListPage extends StatelessWidget { children: [ Center( child: Padding( - padding: const EdgeInsets.all(Constants.edgeInset), + padding: const EdgeInsets.only( + left: Constants.edgeInset, + right: Constants.edgeInset, + top: Constants.edgeInset + ), child: Text( '${Strings.allQuotesCount} – $quoteCount', - style: TextStyle(fontSize: 18), + style: TextStyle( + fontSize: 18, + fontWeight: FontWeight.bold, + ), ), ), ),