onAction property

VoidCallback? onAction
final

A function which infers to what should be done when the action is clicked/tapped.

Implementation

final VoidCallback? onAction;