onPressed property

void Function()? onPressed
final

点击事件

Implementation

final void Function()? onPressed;