No choochoo, centralised text))))
This commit is contained in:
@@ -13,14 +13,27 @@ class HomeScreen extends StatelessWidget {
|
|||||||
title: Row(
|
title: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
// Our Amazing Logo
|
// Hamburbur menu
|
||||||
Image.asset('assets/images/choo.png',
|
IconButton(
|
||||||
fit: BoxFit.contain,
|
onPressed: () {
|
||||||
height: 64,
|
|
||||||
|
},
|
||||||
|
icon: const Icon(Icons.menu_sharp)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// Space
|
||||||
|
// const SizedBox(width: 30,),
|
||||||
|
|
||||||
|
// Our Amazing Logo
|
||||||
|
// Image.asset('assets/images/choo.png',
|
||||||
|
// fit: BoxFit.contain,
|
||||||
|
// height: 64,
|
||||||
|
// ),
|
||||||
|
|
||||||
// Spacing
|
// Spacing
|
||||||
const SizedBox(width: 10,),
|
// const SizedBox(width: 10,),
|
||||||
|
|
||||||
|
const Expanded(child: SizedBox()),
|
||||||
|
|
||||||
// App Title
|
// App Title
|
||||||
const Text("WITL"),
|
const Text("WITL"),
|
||||||
@@ -31,10 +44,12 @@ class HomeScreen extends StatelessWidget {
|
|||||||
|
|
||||||
// Navigate to Settings
|
// Navigate to Settings
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {Navigator.push(
|
onPressed: () {
|
||||||
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) => const Settings())
|
MaterialPageRoute(builder: (context) => const Settings())
|
||||||
);},
|
);
|
||||||
|
},
|
||||||
icon: const Icon(Icons.settings)),
|
icon: const Icon(Icons.settings)),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user