astronote/lib/main.dart

23 lines
616 B
Dart
Raw Normal View History

2020-07-12 23:56:06 +02:00
import 'package:flutter/material.dart';
import 'bloc.dart';
import 'package:provider/provider.dart';
import 'endi.dart';
2020-07-12 23:56:06 +02:00
void main() => runApp(MyApp());
2020-07-12 23:56:06 +02:00
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
DeepLinkBloc _bloc = DeepLinkBloc();
2020-07-12 23:56:06 +02:00
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Provider<DeepLinkBloc>(
create: (context) => _bloc,
dispose: (context, bloc) => bloc.dispose(),
child: EndiLog())));
2020-07-12 23:56:06 +02:00
}
}