todotxt_reminder/lib/main.dart

27 lines
684 B
Dart
Raw Normal View History

2023-01-07 17:15:32 +00:00
import 'package:flutter/material.dart';
import 'package:nextcloud_reminder/homescreen.dart';
2023-01-07 17:15:32 +00:00
void main() {
runApp(const TodoTxtReminderApp());
2023-01-07 17:15:32 +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(
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
),
home: const HomeWidget(title: 'todo.txt reminder'),
2023-01-07 17:15:32 +00:00
);
}
}