widget_driver 1.0.0 widget_driver: ^1.0.0 copied to clipboard
A Flutter presentation layer framework, which will clean up your widget code and make your widgets testable without a need for thousands of mock objects. Let's go driving!
import 'package:flutter/material.dart';
import 'package:example/services/auth_service.dart';
import 'package:provider/provider.dart';
import 'dependency_injection_manager.dart';
import 'localization/localization.dart';
import 'widgets/my_app.dart';
void main() {
DependencyInjectionManager.setup();
runApp(MultiProvider(
providers: [
Provider(create: (_) => AuthService()),
Provider(create: (_) => Localization()),
],
child: MyApp(),
));
}