onPressed property

void Function(BuildContext context)? onPressed
final

Implementation

final void Function(BuildContext context)? onPressed;