MaterialFooter constructor

const MaterialFooter({
  1. Key? key,
  2. double triggerOffset = 100,
  3. bool clamping = true,
  4. IndicatorPosition position = IndicatorPosition.above,
  5. Duration processedDuration = const Duration(milliseconds: 200),
  6. SpringDescription? spring,
  7. SpringBuilder? readySpringBuilder,
  8. bool springRebound = false,
  9. FrictionFactor? frictionFactor,
  10. bool safeArea = true,
  11. double? infiniteOffset,
  12. bool? hitOver,
  13. bool? infiniteHitOver,
  14. bool hapticFeedback = false,
  15. bool triggerWhenRelease = false,
  16. double maxOverOffset = double.infinity,
  17. Color? backgroundColor,
  18. Color? color,
  19. Animation<Color?>? valueColor,
  20. String? semanticsLabel,
  21. String? semanticsValue,
  22. Widget? noMoreIcon,
  23. bool showBezierBackground = false,
  24. Color? bezierBackgroundColor,
  25. bool bezierBackgroundAnimation = false,
  26. bool bezierBackgroundBounce = false,
})

Implementation

const MaterialFooter({
  this.key,
  double triggerOffset = 100,
  bool clamping = true,
  IndicatorPosition position = IndicatorPosition.above,
  Duration processedDuration = const Duration(milliseconds: 200),
  physics.SpringDescription? spring,
  SpringBuilder? readySpringBuilder,
  bool springRebound = false,
  FrictionFactor? frictionFactor,
  bool safeArea = true,
  double? infiniteOffset,
  bool? hitOver,
  bool? infiniteHitOver,
  bool hapticFeedback = false,
  bool triggerWhenRelease = false,
  double maxOverOffset = double.infinity,
  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),
        horizontalFrictionFactor: frictionFactor ??
            (showBezierBackground
                ? kBezierHorizontalFrictionFactor
                : kMaterialHorizontalFrictionFactor),
        safeArea: safeArea,
        infiniteOffset: infiniteOffset,
        hitOver: hitOver,
        infiniteHitOver: infiniteHitOver,
        position: position,
        hapticFeedback: hapticFeedback,
        triggerWhenRelease: triggerWhenRelease,
        maxOverOffset: maxOverOffset,
      );