theme changes

This commit is contained in:
Finn 2019-05-10 12:51:11 +01:00
parent 075a57278f
commit fba0dd9ebc
No known key found for this signature in database
GPG Key ID: 7455B4B17685B598
5 changed files with 4 additions and 10 deletions

View File

@ -36,7 +36,7 @@ Future<LoginModel> submitReceiptAPI(
} else {
final responseJson = json.decode(response.body);
showDialogSingleButton(
context,
"Unable to Submit Receipt",

View File

@ -15,9 +15,9 @@ class MyApp extends StatelessWidget {
//var config = ConfigWrapper.of(context);
return new MaterialApp(
title: "Splash and Token Authentication",
// theme: new ThemeData(
// primarySwatch: config.production ? Colors.green : Colors.yellow,
// ),
theme: new ThemeData(
primarySwatch: Colors.blueGrey,
),
routes: <String, WidgetBuilder>{
"/HomePage": (BuildContext context) => HomePage(),
"/LoginPage": (BuildContext context) => LoginPage(),

View File

@ -28,12 +28,10 @@ class _HomePageState extends State<HomePage> {
"Home Page",
style: TextStyle(color: Colors.black),
),
backgroundColor: Colors.white,
iconTheme: IconThemeData(color: Colors.black),
elevation: Theme.of(context).platform == TargetPlatform.iOS ? 0.0 : 6.0,
),
drawer: BasicDrawer(),
backgroundColor: Colors.white,
body: Container(
padding: EdgeInsets.all(32.0),
child: Center(

View File

@ -70,10 +70,8 @@ class LoginPageState extends State<LoginPage> {
),
),
centerTitle: true,
backgroundColor: Colors.white,
iconTheme: IconThemeData(color: Colors.black),
),
backgroundColor: Colors.white,
body: Container(
child: Padding(
padding: EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 0.0),

View File

@ -73,10 +73,8 @@ class ReceiptPageState extends State<ReceiptPage> {
),
),
centerTitle: true,
backgroundColor: Colors.white,
iconTheme: IconThemeData(color: Colors.black),
),
backgroundColor: Colors.white,
body: Container(
child: Padding(
padding: EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 0.0),