EntityStateBuilder<T> constructor

const EntityStateBuilder<T>({
  1. required EntityStreamedState<T> streamedState,
  2. required DataWidgetBuilder<T> builder,
  3. LoadingWidgetBuilder<T>? loadingBuilder,
  4. DataErrorWidgetBuilder<T>? errorDataBuilder,
  5. ErrorWidgetBuilder? errorBuilder,
  6. Widget loadingChild = const SizedBox(),
  7. Widget errorChild = const SizedBox(),
  8. Key? key,
})

Implementation

const EntityStateBuilder({
  required this.streamedState,
  required this.builder,
  this.loadingBuilder,
  this.errorDataBuilder,
  this.errorBuilder,
  this.loadingChild = const SizedBox(),
  this.errorChild = const SizedBox(),
  Key? key,
}) : super(key: key);