15 lines
346 B
Dart
15 lines
346 B
Dart
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(),
|
|
),
|
|
);
|
|
} |