Skip to content

Instantly share code, notes, and snippets.

@SAGARSURI
Created July 7, 2019 08:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SAGARSURI/f908930b199087c72b8639eab9c478f9 to your computer and use it in GitHub Desktop.
Save SAGARSURI/f908930b199087c72b8639eab9c478f9 to your computer and use it in GitHub Desktop.
import 'package:inject/inject.dart';
import 'bloc_injector.inject.dart' as g;
import '../app.dart';
import 'bloc_module.dart';
@Injector(const [BlocModule])
abstract class BlocInjector{
@provide
App get app;
static final create = g.BlocInjector$Injector.create;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment