fragment 0.4.0 copy "fragment: ^0.4.0" to clipboard
fragment: ^0.4.0 copied to clipboard

Easily prevent unnecessary build() calls in StatefulWidget and its subtrees.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add fragment

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  fragment: ^0.4.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:fragment/fragment.dart';
7
likes
130
pub points
44%
popularity

Publisher

unverified uploader

Easily prevent unnecessary build() calls in StatefulWidget and its subtrees.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on fragment