onPressed property

void Function()? onPressed
getter/setter pair

Implementation

void Function()? onPressed;