onLongPress method
长按事件
Implementation
Widget onLongPress(void Function()? onLongPress) {
return GestureDetector(onLongPress: onLongPress, child: this);
}
长按事件
Widget onLongPress(void Function()? onLongPress) {
return GestureDetector(onLongPress: onLongPress, child: this);
}