Skip to content

Instantly share code, notes, and snippets.

View xsahil03x's full-sized avatar
🤹‍♂️
Working on something awesome

Sahil Kumar xsahil03x

🤹‍♂️
Working on something awesome
View GitHub Profile
@xsahil03x
xsahil03x / main.dart
Created August 21, 2019 19:40 — forked from CodyDunlap/app_module.dart
Injecting services into Widget's using package:inject
void main() async {
var container = await AppComponent.create(ServicesModule(), ViewModelModule());
runApp(container.app);
}
@provide
class MyApp extends StatelessWidget {
final Router _router;
MyApp(this._router);