flutter_view_widgets 2.2.4-dev.1 copy "flutter_view_widgets: ^2.2.4-dev.1" to clipboard
flutter_view_widgets: ^2.2.4-dev.1 copied to clipboard

outdated

Flutter Dart tools library for flutter-view. These widgets allow some extra functionality for flutter-view, and are highly recommended for your flutter-view projects.

Flutter-view Widgets #

Notice: flutter_view_widgets replaces the flutter_view_tools library, which can no longer maintained due to a loss of Dart pub credentials.

Notice: version 2.0.0 and up support null safety, and because of this may not be compatible with legacy code. Use the earlier versions if you use Dart before 2.12.

Flutter-view is a tool that lets you easily create layouts for Flutter, using Pug and Sass.

http://flutter-view.io

This package adds some widgets that allow some extra functionality for flutter-view, and are highly recommended for your flutter-view projects.

Check out the documentation on how to get started with this library in your own flutter-view project. Check out the example project for a simple project that uses all supported widgets.

The library adds the following widgets:

Lifecycle #

A stateful widget that lets you hook into different lifecycle events of its state, such as initState, render and dispose. You can use these hooks for updating and cleaning up in your view-model.

Documentation

ReactiveWidget #

A wrapper of a Flutter StreamWidget, that monitors a Listenable such as a ChangeNotifier, or Model and triggers an update when that Listenable updates. This allows for your tree of widgets to respond to model updates.

Documentation | Usage guide

Reactive #

A small wrapper for any value, making it listenable. This lets you make any value listenable, instead of having to extend Model or ChangeNotifier.

Example: #

final user = Reactive(User(name: 'John'));
user.addListener(() { print('updated'); });
print(user.value); // prints John
user.value = 'Mary'; // prints 'updated'
print(user.value); // prints Mary
4
likes
0
pub points
55%
popularity

Publisher

unverified uploader

Flutter Dart tools library for flutter-view. These widgets allow some extra functionality for flutter-view, and are highly recommended for your flutter-view projects.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, scoped_model

More

Packages that depend on flutter_view_widgets