widget_driver 0.0.1 copy "widget_driver: ^0.0.1" to clipboard
widget_driver: ^0.0.1 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
pub points
64%
popularity

Publisher

verified publisherbmwtech.dev

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