KeyPressMotion constructor
KeyPressMotion({
- 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);