KeyPressMotion constructor

KeyPressMotion({
  1. required TickerProvider vsync,
})

Implementation

KeyPressMotion({required TickerProvider vsync})
  : press = AnimationController.unbounded(vsync: vsync),
    scale = AnimationController.unbounded(vsync: vsync),
    tint = AnimationController(vsync: vsync),
    hover = AnimationController(vsync: vsync),
    hold = AnimationController(vsync: vsync, duration: holdDuration);