mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-21 14:42:20 +01:00
New Flutter app (com.kuhy.wake_alarm_sync) that sets the phone alarm and writes the wake time to a GitHub Gist for cross-device sync: Gist service, GitHub device-flow auth, sync settings, home/settings screens. Source only; build/.dart_tool/.idea artifacts excluded by the app's .gitignore. Not yet gated by CI (wake-alarm CI is Python-only) and pending on-device verification. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RRCdR4D8SaVrN2xraMQxM
27 lines
670 B
Dart
27 lines
670 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
import 'package:wake_alarm_sync/screens/home_screen.dart';
|
|
|
|
/// Entry point.
|
|
void main() => runApp(const WakeAlarmSyncApp());
|
|
|
|
/// Root application widget.
|
|
class WakeAlarmSyncApp extends StatelessWidget {
|
|
/// Creates a [WakeAlarmSyncApp].
|
|
const WakeAlarmSyncApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'Wake Alarm Sync',
|
|
theme: ThemeData.dark(useMaterial3: true).copyWith(
|
|
colorScheme: ColorScheme.fromSeed(
|
|
seedColor: Colors.orange,
|
|
brightness: Brightness.dark,
|
|
),
|
|
),
|
|
home: const HomeScreen(),
|
|
);
|
|
}
|
|
}
|