SignalAnimatedBuilder constructor

const SignalAnimatedBuilder({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. Widget? child
    ),
  3. Widget? child,
  4. String? debugLabel,
  5. List<ReadonlySignal> dependencies = const [],
})

Creates a SignalAnimatedBuilder widget.

The builder constructs the widget tree around the cached child. The dependencies is an optional list of signals to watch explicitly.

Implementation

const SignalAnimatedBuilder({
  super.key,
  required this.builder,
  this.child,
  this.debugLabel,
  this.dependencies = const [],
});