EndlessStreamScrollViewData<T> constructor
EndlessStreamScrollViewData<T> ({
- required double? extentAfterFactor,
- required void loadMore(),
- required Stream<
List< stream,T> > - required EndlessStateProperty<
Widget> ? headerBuilderState, - required EndlessStateProperty<
Widget> ? emptyBuilderState, - required EndlessStateProperty<
Widget> ? loadingBuilderState, - required EndlessStateProperty<
Widget> ? loadMoreBuilderState, - required Widget headerBuilder(
- BuildContext context
- required Widget emptyBuilder(
- BuildContext context
- required Widget loadingBuilder(
- BuildContext context
- required Widget loadMoreBuilder(
- BuildContext context
- required EndlessStreamController<
T> ? controller, - required EdgeInsets? padding,
- required bool? loadOnSubscribe,
Implementation
EndlessStreamScrollViewData({
required this.extentAfterFactor,
required this.loadMore,
required this.stream,
required this.headerBuilderState,
required this.emptyBuilderState,
required this.loadingBuilderState,
required this.loadMoreBuilderState,
required this.footerBuilderState,
required this.headerBuilder,
required this.emptyBuilder,
required this.loadingBuilder,
required this.loadMoreBuilder,
required this.footerBuilder,
required this.controller,
required this.padding,
required this.loadOnSubscribe,
}) {
padding ??= EdgeInsets.zero;
loadOnSubscribe ??= false;
extentAfterFactor ??= 0.4;
}