jaspr_provider 0.0.3 copy "jaspr_provider: ^0.0.3" to clipboard
jaspr_provider: ^0.0.3 copied to clipboard

A wrapper around InheritedComponent to make them easier to use and more reusable.

example/lib/main.dart

// ignore_for_file: public_member_api_docs, lines_longer_than_80_chars
import 'package:example/app.dart';
import 'package:jaspr/jaspr.dart';

/// This is a reimplementation of the default Flutter application using provider + [ChangeNotifier].

void main() {
  runApp(
    /// Providers are above [MyApp] instead of inside it, so that tests
    /// can use [MyApp] while mocking the providers
    App(),
  );
}
3
likes
130
pub points
23%
popularity

Publisher

unverified uploader

A wrapper around InheritedComponent to make them easier to use and more reusable.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, jaspr

More

Packages that depend on jaspr_provider