theme changes
This commit is contained in:
parent
075a57278f
commit
fba0dd9ebc
5 changed files with 4 additions and 10 deletions
|
@ -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(),
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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),
|
||||
|
|
Reference in a new issue