MaterialFooter constructor
MaterialFooter({
- Key? key,
- double triggerOffset = 100,
- bool clamping = true,
- IndicatorPosition position = IndicatorPosition.above,
- Duration processedDuration = const Duration(milliseconds: 200),
- SpringDescription? spring,
- SpringBuilder? readySpringBuilder,
- bool springRebound = false,
- FrictionFactor? frictionFactor,
- bool safeArea = true,
- double? infiniteOffset,
- bool? hitOver,
- bool? infiniteHitOver,
- bool hapticFeedback = false,
- Color? backgroundColor,
- Color? color,
- Animation<
Color?> ? valueColor, - String? semanticsLabel,
- String? semanticsValue,
- Widget? noMoreIcon,
- bool showBezierBackground = false,
- Color? bezierBackgroundColor,
- bool bezierBackgroundAnimation = false,
- bool bezierBackgroundBounce = false,
Implementation
MaterialFooter({
this.key,
double triggerOffset = 100,
bool clamping = true,
IndicatorPosition position = IndicatorPosition.above,
Duration processedDuration = const Duration(milliseconds: 200),
SpringDescription? spring,
SpringBuilder? readySpringBuilder,
bool springRebound = false,
FrictionFactor? frictionFactor,
bool safeArea = true,
double? infiniteOffset,
bool? hitOver,
bool? infiniteHitOver,
bool hapticFeedback = false,
this.backgroundColor,
this.color,
this.valueColor,
this.semanticsLabel,
this.semanticsValue,
this.noMoreIcon,
this.showBezierBackground = false,
this.bezierBackgroundColor,
this.bezierBackgroundAnimation = false,
this.bezierBackgroundBounce = false,
}) : super(
triggerOffset: triggerOffset,
clamping: clamping,
processedDuration: processedDuration,
spring: spring,
readySpringBuilder: readySpringBuilder ??
(bezierBackgroundAnimation
? kBezierSpringBuilder
: kMaterialSpringBuilder),
springRebound: springRebound,
frictionFactor: frictionFactor ??
(showBezierBackground
? kBezierFrictionFactor
: kMaterialFrictionFactor),
safeArea: safeArea,
infiniteOffset: infiniteOffset,
hitOver: hitOver,
infiniteHitOver: infiniteHitOver,
position: position,
hapticFeedback: hapticFeedback,
);