Fix template/prototype code now that I have an Internet connection.
This commit is contained in:
@@ -9,24 +9,36 @@ class MainApp extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const MaterialApp(
|
return MaterialApp(
|
||||||
home: Scaffold(
|
home: Scaffold(
|
||||||
body: Column(
|
body: Column(
|
||||||
children:
|
children: [
|
||||||
Text("Sunset Coordinates"), // TODO: Text Field
|
Text("Sunset Coordinates"), // TODO: Text Field
|
||||||
Text("Hours before Sunset"), // TODO: Text Field. Add Spanish translation "Horas antes Noche"
|
Text(
|
||||||
Button(Text("Set Alarm")),
|
"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)
|
// If enabled, this section controls "Pythagorian theorum" (spelling)
|
||||||
// type math to check if the user has exited the distance from the
|
// type math to check if the user has exited the distance from the
|
||||||
// sunset location.
|
// sunset location.
|
||||||
Text("Enable Proximity Detector / Geofencing") // TODO: Checkbox
|
Text("Enable Proximity Detector / Geofencing"), // TODO: Checkbox
|
||||||
Text("Current Coordinates"), // TODO: Read Only View with current location
|
Text(
|
||||||
|
"Current Coordinates",
|
||||||
|
), // TODO: Read Only View with current location
|
||||||
Row(
|
Row(
|
||||||
children:
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
Text("Distance"), // TODO: Text Field
|
Text("Distance"), // TODO: Text Field
|
||||||
Text("* Miles, * Kilometers") // TODO: Radio Button Group
|
Text("* Miles, * Kilometers"), // TODO: Radio Button Group
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user