onPressed property

VoidCallback? onPressed
final

Optional override callback for when the button is tapped. If null in standard mode, automatically calls GlassEditController.toggle.

Implementation

final VoidCallback? onPressed;