PressableScale constructor

const PressableScale({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onPressed,
  4. VoidCallback? onLongPressed,
  5. PressableScaleTheme? theme = const PressableScaleTheme(),
})

Implementation

const PressableScale({
  Key? key,
  required this.child,
  this.onPressed,
  this.onLongPressed,
  this.theme = const PressableScaleTheme(),
}) : super(key: key);