started work on the flashcards
This commit is contained in:
@@ -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<QuoteProvider>(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: [
|
||||
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user