onPressed property

VoidCallback onPressed
final

事件回调

Implementation

final VoidCallback onPressed;