StreamOnce<T> constructor

const StreamOnce<T>({
  1. Key? key,
  2. required Stream<T> streamFactory(),
  3. required Widget builder(
    1. T
    ),
  4. Widget? loading,
})

Implementation

const StreamOnce({
  super.key,
  required this.streamFactory,
  required this.builder,
  this.loading,
});