LongPressDetector constructor
const
LongPressDetector({
- Key? key,
- required Widget child,
- required VoidCallback onLongPress,
- bool enabled = true,
Creates a LongPressDetector.
Implementation
const LongPressDetector({
super.key,
required this.child,
required this.onLongPress,
this.enabled = true,
});