2024-10-22 10:38:22 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
import 'package:todo/presentation/ToDoApp.dart';
|
|
|
|
import 'buisness/ToDoProvider.dart';
|
|
|
|
|
2024-10-29 13:13:10 +01:00
|
|
|
void main() async {
|
|
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
|
2024-10-22 10:38:22 +02:00
|
|
|
runApp(
|
|
|
|
ChangeNotifierProvider(
|
|
|
|
create: (_) => ToDoProvider(),
|
|
|
|
child: ToDoApp(),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|