Some comments never hurt anyone

This commit is contained in:
2023-12-30 23:05:06 +02:00
parent 23218c22d7
commit 7a0bd79e37
7 changed files with 53 additions and 12 deletions

View File

@@ -13,23 +13,32 @@ class HomeScreen extends StatelessWidget {
title: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// Our Amazing Logo
Image.asset('assets/images/choo.png',
fit: BoxFit.contain,
height: 64,
),
// Spacing
const SizedBox(width: 10,),
// App Title
const Text("WITL"),
// Fill out the area blankly
// So that the icon can be shoved far right
const Expanded(child: SizedBox(),),
// Navigate to Settings
IconButton(
onPressed: () {Navigator.push(
context,
MaterialPageRoute(builder: (context) => const Settings())
);},
icon: const Icon(Icons.settings))
icon: const Icon(Icons.settings)),
// Space from the end
const SizedBox(width: 30,),
]
),
),
@@ -39,12 +48,15 @@ class HomeScreen extends StatelessWidget {
const Row(
mainAxisAlignment: MainAxisAlignment.center,
children:[
// Our Motto (?)
Text("We may not be able to tell you why.\nBut surely are able to predict when."),
],
),
// Spacing
const SizedBox(height: 80),
// To the fetching screen
InkWell(
onTap:() {
Navigator.push(
@@ -60,6 +72,7 @@ class HomeScreen extends StatelessWidget {
const SizedBox(height: 30),
// To Data Input
InkWell(
onTap:() {
Navigator.push(