ClassicFooter constructor
const
ClassicFooter({
- Key? key,
- VoidCallback? onClick,
- LoadStyle loadStyle = LoadStyle.ShowAlways,
- double height = 60.0,
- OuterBuilder? outerBuilder,
- TextStyle textStyle = const TextStyle(color: Colors.grey),
- String? loadingText,
- String? noDataText,
- Widget? noMoreIcon,
- String? idleText,
- String? failedText,
- String? canLoadingText,
- Widget? failedIcon = const Icon(Icons.error, color: Colors.grey),
- IconPosition iconPos = IconPosition.left,
- double spacing = 15.0,
- Duration completeDuration = const Duration(milliseconds: 300),
- Widget? loadingIcon,
- Widget? canLoadingIcon = const Icon(Icons.autorenew, color: Colors.grey),
- Widget? idleIcon = const Icon(Icons.arrow_upward, color: Colors.grey),
Implementation
const ClassicFooter({
Key? key,
VoidCallback? onClick,
LoadStyle loadStyle: LoadStyle.ShowAlways,
double height: 60.0,
this.outerBuilder,
this.textStyle: const TextStyle(color: Colors.grey),
this.loadingText,
this.noDataText,
this.noMoreIcon,
this.idleText,
this.failedText,
this.canLoadingText,
this.failedIcon: const Icon(Icons.error, color: Colors.grey),
this.iconPos: IconPosition.left,
this.spacing: 15.0,
this.completeDuration: const Duration(milliseconds: 300),
this.loadingIcon,
this.canLoadingIcon: const Icon(Icons.autorenew, color: Colors.grey),
this.idleIcon = const Icon(Icons.arrow_upward, color: Colors.grey),
}) : super(
key: key,
loadStyle: loadStyle,
height: height,
onClick: onClick,
);