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 = null,
  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,
  super.triggerOffset = 100,
  super.clamping = true,
  super.position,
  super.processedDuration = const Duration(milliseconds: 200),
  super.spring,
  SpringBuilder? readySpringBuilder,
  super.springRebound = false,
  FrictionFactor? frictionFactor,
  super.safeArea,
  super.infiniteOffset = null,
  super.hitOver,
  super.infiniteHitOver,
  super.hapticFeedback,
  super.triggerWhenRelease,
  super.maxOverOffset,
  this.backgroundColor,
  this.color,
  this.valueColor,
  this.semanticsLabel,
  this.semanticsValue,
  this.noMoreIcon,
  this.showBezierBackground = false,
  this.bezierBackgroundColor,
  this.bezierBackgroundAnimation = false,
  this.bezierBackgroundBounce = false,
}) : super(
        readySpringBuilder: readySpringBuilder ??
            (bezierBackgroundAnimation
                ? kBezierSpringBuilder
                : kMaterialSpringBuilder),
        frictionFactor: frictionFactor ??
            (showBezierBackground
                ? kBezierFrictionFactor
                : kMaterialFrictionFactor),
        horizontalFrictionFactor: frictionFactor ??
            (showBezierBackground
                ? kBezierHorizontalFrictionFactor
                : kMaterialHorizontalFrictionFactor),
      );