isSecondary property

bool? isSecondary
final

Whether the button is used as a secondary action button (e.g. Cancel buttons in dialogs)

Sets its background color to PushButtonThemeData's secondaryColor attributes (defaults are gray colors). Can still be overriden if the color attribute is non-null.

Implementation

final bool? isSecondary;