2023-01-07 17:15:32 +00:00
|
|
|
import 'package:flutter/material.dart';
|
2023-01-08 21:34:24 +00:00
|
|
|
import 'package:nextcloud_reminder/homescreen.dart';
|
|
|
|
|
2023-01-07 17:15:32 +00:00
|
|
|
|
|
|
|
void main() {
|
2023-01-08 21:34:24 +00:00
|
|
|
runApp(const TodoTxtReminderApp());
|
2023-01-07 17:15:32 +00:00
|
|
|
}
|
|
|
|
|
2023-01-08 21:34:24 +00:00
|
|
|
class TodoTxtReminderApp extends StatelessWidget {
|
|
|
|
const TodoTxtReminderApp({super.key});
|
2023-01-07 17:15:32 +00:00
|
|
|
|
|
|
|
// This widget is the root of your application.
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return MaterialApp(
|
2023-01-08 21:34:24 +00:00
|
|
|
title: 'Nextcloud Reminder',
|
2023-01-07 17:15:32 +00:00
|
|
|
theme: ThemeData(
|
|
|
|
// This is the theme of your application.
|
2023-01-13 17:17:22 +00:00
|
|
|
primarySwatch: Colors.pink,
|
|
|
|
inputDecorationTheme: const InputDecorationTheme(border: OutlineInputBorder(), ),
|
|
|
|
|
2023-01-07 17:15:32 +00:00
|
|
|
),
|
2023-01-08 21:34:24 +00:00
|
|
|
home: const HomeWidget(title: 'todo.txt reminder'),
|
2023-01-07 17:15:32 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|