FlowBuilder<T> constructor

const FlowBuilder<T>({
  1. Key? key,
  2. required Stream<T> stream,
  3. required Widget builder(
    1. BuildContext,
    2. T
    ),
  4. void onDone()?,
  5. void onError(
    1. Object error,
    2. StackTrace stackTrace
    )?,
})

Implementation

const FlowBuilder({
  super.key,
  required this.stream,
  required this.builder,
  this.onDone,
  this.onError,
});