BloomProvider<T> constructor

const BloomProvider<T>({
  1. Key? key,
  2. required Bloom<T> bloom,
  3. required Widget child,
})

Creates a BloomProvider binding bloom into the widget subtree.

  • bloom: The reactive state carrier node to provide.
  • child: The descendant widget subtree that can query this state.
  • key: Optional widget key.

Requires:

  • bloom and child must not be null.

Ensures:

  • Provisions bloom to descendants with forced rebuild suppression.

Implementation

const BloomProvider({
  super.key,
  required this.bloom,
  required super.child,
});