isPrimary property

bool isPrimary
final

Whether this is the primary (recommended) action.

When enabled and non-destructive, fills the capsule with tintColor (defaulting to CupertinoTheme.of(context).primaryColor) and binds hardware Return/Enter activation when a single primary action is present.

Implementation

final bool isPrimary;