Created
September 30, 2019 13:36
-
-
Save viveky259259/4bfc8e6dec875e156cf7421bd081c61d to your computer and use it in GitHub Desktop.
Note's main file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_bloc/flutter_bloc.dart'; | |
import 'package:flutter_for_people/bloc/notes/note.bloc.dart'; | |
import 'notes/note.ui.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Flutter Demo', | |
theme: ThemeData( | |
primarySwatch: Colors.blue, | |
), | |
home: BlocProvider<NoteBloc>( | |
builder: (context) => NoteBloc(), child: NotesUi()), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment