longClick method
Implementation
@Doc(message: '长按点击事件')
Widget longClick({required VoidCallback onLongPress}) {
return GestureDetector(onLongPress: onLongPress, child: this);
}
@Doc(message: '长按点击事件')
Widget longClick({required VoidCallback onLongPress}) {
return GestureDetector(onLongPress: onLongPress, child: this);
}