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