onPressed property
void Function()?
onPressed
final
When GenZButton is tapped or pressed if given Null button will be disabled.
Implementation
final void Function()? onPressed;
When GenZButton is tapped or pressed if given Null button will be disabled.
final void Function()? onPressed;