widget_driver 0.0.7 copy "widget_driver: ^0.0.7" to clipboard
widget_driver: ^0.0.7 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!

example/lib/main.dart

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(),
  ));
}
16
likes
0
points
1.26k
downloads

Publisher

verified publisherbmwtech.dev

Weekly Downloads

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!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, meta, widget_driver_annotation

More

Packages that depend on widget_driver