Files
flutter-sunset-alarm/lib/main.dart

34 lines
1.1 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 const 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"
Button(Text("Set Alarm")),
// 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(
children:
Text("Distance"), // TODO: Text Field
Text("* Miles, * Kilometers") // TODO: Radio Button Group
),
),
),
);
}
}