Created
June 18, 2019 05:34
-
-
Save felangel/c2564170b388e5554df9e7ddeeb9895b to your computer and use it in GitHub Desktop.
[flutter_bloc_hydrated_weather] Simple HydratedBlocDelegate initialization
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:bloc/bloc.dart'; | |
import 'package:hydrated_bloc/hydrated_bloc.dart'; | |
void main() async { | |
BlocSupervisor.delegate = await HydratedBlocDelegate.build(); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment