build method
Build indicator widget.
Implementation
@override
Widget build(BuildContext context, IndicatorState state) {
return _ClassicIndicator(
key: key,
state: state,
backgroundColor: backgroundColor,
boxDecoration: boxDecoration,
mainAxisAlignment: mainAxisAlignment,
dragText: dragText ?? 'Pull to load',
armedText: armedText ?? 'Release ready',
readyText: readyText ?? 'Loading...',
processingText: processingText ?? 'Loading...',
processedText: processedText ?? 'Succeeded',
noMoreText: noMoreText ?? 'No more',
failedText: failedText ?? 'Failed',
showText: showText,
messageText: messageText ?? 'Last updated at %T',
showMessage: showMessage,
textDimension: textDimension,
iconDimension: iconDimension,
spacing: spacing,
reverse: !state.reverse,
succeededIcon: succeededIcon,
failedIcon: failedIcon,
noMoreIcon: noMoreIcon,
pullIconBuilder: pullIconBuilder,
textStyle: textStyle,
textBuilder: textBuilder,
messageStyle: messageStyle,
messageBuilder: messageBuilder,
clipBehavior: clipBehavior,
iconTheme: iconTheme,
progressIndicatorSize: progressIndicatorSize,
progressIndicatorStrokeWidth: progressIndicatorStrokeWidth,
);
}