mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-27 16:24:07 +02:00
color changes
This commit is contained in:
parent
2f23803154
commit
d669fc50f3
@ -30,7 +30,7 @@ class MyApp extends StatelessWidget {
|
||||
title: 'Fresh Plaza',
|
||||
theme: ThemeData(
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
|
||||
scaffoldBackgroundColor: const Color(0xFFEEEEEE),
|
||||
scaffoldBackgroundColor: const Color(0xFFFAFAFF),
|
||||
textTheme: const TextTheme(
|
||||
headlineLarge: TextStyle(color: Color(0xFF000000), fontSize: 64),
|
||||
bodyLarge: TextStyle(color: Color(0xFF000000), fontSize: 20),
|
||||
|
@ -16,6 +16,7 @@ class ReceiptsListItem extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Card(
|
||||
color: Colors.white,
|
||||
child: InkWell(
|
||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||
onTap: () {
|
||||
|
@ -16,6 +16,7 @@ class ProductPage extends StatelessWidget {
|
||||
context.watch<AddToCartStateRepo>();
|
||||
return Scaffold(
|
||||
body: Card(
|
||||
color: Colors.white,
|
||||
margin: const EdgeInsets.all(10),
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
|
@ -11,6 +11,7 @@ class PrimaryCard extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Card(
|
||||
color: Colors.white,
|
||||
child: SizedBox(height: 100, child: child),
|
||||
);
|
||||
}
|
||||
|
@ -21,9 +21,12 @@ class PrimaryInput extends StatelessWidget {
|
||||
height: height,
|
||||
child: TextField(
|
||||
decoration: InputDecoration(
|
||||
border: const OutlineInputBorder(),
|
||||
label: Text(label),
|
||||
hintText: placeholderText),
|
||||
border: const OutlineInputBorder(),
|
||||
label: Text(label),
|
||||
hintText: placeholderText,
|
||||
filled: true,
|
||||
fillColor: Colors.white,
|
||||
),
|
||||
obscureText: obscure,
|
||||
));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user