efficient_builder 1.0.4
efficient_builder: ^1.0.4 copied to clipboard
Efficient Builder offers an alternative to ValueListenableBuilder in Flutter. It listens to a state class and selectively rebuilds widgets based on specific values within the state, optimizing performance.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add efficient_builderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
efficient_builder: ^1.0.4Alternatively, 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:efficient_builder/efficient_builder.dart';