DocumentFutureBuilder<T> constructor

const DocumentFutureBuilder<T>({
  1. Key? key,
  2. required Future<T?> future(),
  3. required Widget buildContent(
    1. BuildContext context,
    2. T document
    ),
  4. bool allowRefresh = true,
  5. bool isRoute = false,
  6. Uri? location,
  7. Object? requestKey,
})

Implementation

const DocumentFutureBuilder({
  super.key,
  required this.future,
  required this.buildContent,
  this.allowRefresh = true,
  this.isRoute = false,
  this.location,
  this.requestKey,
});