BloomPendingIndicator constructor

const BloomPendingIndicator({
  1. Key? key,
  2. required Bloom<bool> target,
  3. double height = 2.0,
  4. Color? color,
  5. Color? backgroundColor,
  6. Widget builder(
    1. BuildContext context,
    2. bool isPending
    )?,
})

Creates a surgical isolated pending progress indicator.

  • target: The reactive Bloom<bool> indicator node.
  • height: The indicator height in logical pixels. Defaults to 2.0.
  • color: Foreground progress bar color.
  • backgroundColor: Background track color.
  • builder: Optional custom painter/builder callback.
  • key: Optional widget key.

Requires:

  • target must not be null.
  • height must be non-negative.

Ensures:

Implementation

const BloomPendingIndicator({
  super.key,
  required this.target,
  this.height = 2.0,
  this.color,
  this.backgroundColor,
  this.builder,
});