From 15a32727c59e68cd7fa06e1a8bf44d91ac0986d5 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 11 Jul 2025 12:17:47 -0700 Subject: [PATCH] Fix template/prototype code now that I have an Internet connection. --- lib/main.dart | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index fb8de93..fb005f2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -9,24 +9,36 @@ class MainApp extends StatelessWidget { @override Widget build(BuildContext context) { - return const MaterialApp( + return MaterialApp( home: Scaffold( body: Column( - children: + children: [ Text("Sunset Coordinates"), // TODO: Text Field - Text("Hours before Sunset"), // TODO: Text Field. Add Spanish translation "Horas antes Noche" - Button(Text("Set Alarm")), + Text( + "Hours before Sunset", + ), // TODO: Text Field. Add Spanish translation "Horas antes Noche" + TextButton( + child: Text("Set Alarm"), + onPressed: () { + null; + }, + ), // If enabled, this section controls "Pythagorian theorum" (spelling) // type math to check if the user has exited the distance from the // sunset location. - Text("Enable Proximity Detector / Geofencing") // TODO: Checkbox - Text("Current Coordinates"), // TODO: Read Only View with current location + Text("Enable Proximity Detector / Geofencing"), // TODO: Checkbox + Text( + "Current Coordinates", + ), // TODO: Read Only View with current location Row( - children: + mainAxisAlignment: MainAxisAlignment.center, + children: [ Text("Distance"), // TODO: Text Field - Text("* Miles, * Kilometers") // TODO: Radio Button Group + Text("* Miles, * Kilometers"), // TODO: Radio Button Group + ], ), - ), + ], + ), ), ); }