FlowBuilder<T> constructor

const FlowBuilder<T>({
  1. required Flow<T> flow,
  2. required FlowWidgetBuilder<T> builder,
  3. Key? key,
})

Create a new flow builder that rebuilds when the flow emits a value. The value is provided to the builder function.

Implementation

const FlowBuilder({
  required this.flow,
  required this.builder,
  Key? key,
}) : super(key: key);