46 lines
1.3 KiB
Dart
46 lines
1.3 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
void main() {
|
|
runApp(const MainApp());
|
|
}
|
|
|
|
class MainApp extends StatelessWidget {
|
|
const MainApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
home: Scaffold(
|
|
body: Column(
|
|
children: [
|
|
Text("Sunset Coordinates"), // TODO: Text Field
|
|
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
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
Text("Distance"), // TODO: Text Field
|
|
Text("* Miles, * Kilometers"), // TODO: Radio Button Group
|
|
],
|
|
),
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|