EasyScrollList.optionalScroll constructor
EasyScrollList.optionalScroll({
- required List<
Widget> children, - required bool isScrollable,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- ScrollController? scrollController,
- ScrollPhysics? scrollPhysics,
- Axis scrollDirection = Axis.vertical,
- Widget? seperator,
- dynamic onEndOfPage()?,
- bool showLoadingSpinnerAtEnd = false,
- Widget? loadingSpinner,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- bool expand = false,
Implementation
factory EasyScrollList.optionalScroll({
required List<Widget> children,
required bool isScrollable,
CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
ScrollController? scrollController,
ScrollPhysics? scrollPhysics,
Axis scrollDirection = Axis.vertical,
Widget? seperator,
Function()? onEndOfPage,
bool showLoadingSpinnerAtEnd = false,
Widget? loadingSpinner,
ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
ScrollViewKeyboardDismissBehavior.manual,
bool expand = false,
}) {
return EasyScrollList(
children: children,
isScrollable: isScrollable,
crossAxisAlignment: crossAxisAlignment,
mainAxisAlignment: mainAxisAlignment,
scrollController: scrollController,
scrollPhysics: scrollPhysics,
scrollDirection: scrollDirection,
separator: seperator,
onEndOfPage: onEndOfPage,
showLoadingSpinnerAtEnd: showLoadingSpinnerAtEnd,
loadingSpinner: loadingSpinner,
keyboardDismissBehavior: keyboardDismissBehavior,
expand: expand,
);
}