QudsScalablePressable constructor

const QudsScalablePressable({
  1. Key? key,
  2. required Widget child,
  3. double scale = 1.3,
  4. bool scaleWhenTapDown = true,
  5. bool scaleWhenMouseEnter = true,
  6. Duration duration = const Duration(milliseconds: 400),
  7. Curve curve = Curves.fastLinearToSlowEaseIn,
})

Create an instance of QudsScalablePressable

Implementation

const QudsScalablePressable(
    {Key? key,
    required this.child,
    this.scale = 1.3,
    this.scaleWhenTapDown = true,
    this.scaleWhenMouseEnter = true,
    this.duration = const Duration(milliseconds: 400),
    this.curve = Curves.fastLinearToSlowEaseIn})
    : super(key: key);