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