DocumentStreamBuilder<T>.refreshable constructor

const DocumentStreamBuilder<T>.refreshable({
  1. Key? key,
  2. required Stream<T?> streamFactory(),
  3. required Widget buildContent(
    1. BuildContext context,
    2. T document
    ),
  4. bool allowRefresh = true,
})

Implementation

const DocumentStreamBuilder.refreshable({
  super.key,
  required Stream<T?> Function() this.streamFactory,
  required this.buildContent,
  this.allowRefresh = true,
}) : stream = null;