import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:todo/presentation/ToDoApp.dart'; import 'buisness/ToDoProvider.dart'; void main() async { WidgetsFlutterBinding.ensureInitialized(); runApp( ChangeNotifierProvider( create: (_) => ToDoProvider(), child: ToDoApp(), ), ); }