void main() { // For widgets to be able to read providers, we need to wrap the entire // application in a "BlocProvider" widget. // This is where the state of our NotesCubit will be stored. runApp(BlocProvider(create: (_) => NotesCubit(), child: App())); }