ClassicFooter constructor

const ClassicFooter({
  1. Key? key,
  2. VoidCallback? onClick,
  3. LoadStyle loadStyle = LoadStyle.ShowAlways,
  4. double height = 60.0,
  5. OuterBuilder? outerBuilder,
  6. TextStyle textStyle = const TextStyle(color: Colors.grey),
  7. String? loadingText,
  8. String? noDataText,
  9. Widget? noMoreIcon,
  10. String? idleText,
  11. String? failedText,
  12. String? canLoadingText,
  13. Widget? failedIcon = const Icon(Icons.error, color: Colors.grey),
  14. IconPosition iconPos = IconPosition.left,
  15. double spacing = 15.0,
  16. Duration completeDuration = const Duration(milliseconds: 300),
  17. Widget? loadingIcon,
  18. Widget? canLoadingIcon = const Icon(Icons.autorenew, color: Colors.grey),
  19. 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,
      );