MaterialFooter constructor
MaterialFooter({})
Implementation
MaterialFooter({
this.key,
this.valueColor,
this.backgroundColor,
completeDuration = const Duration(seconds: 1),
bool enableHapticFeedback = false,
bool enableInfiniteLoad = true,
bool overScroll = false,
}) : super(
float: true,
extent: 52.0,
triggerDistance: 52.0,
completeDuration: completeDuration == null
? const Duration(
milliseconds: 300,
)
: completeDuration +
const Duration(
milliseconds: 300,
),
enableHapticFeedback: enableHapticFeedback,
enableInfiniteLoad: enableInfiniteLoad,
overScroll: overScroll,
);