secondary static method

FBaseButtonStyle Function(FButtonStyle) secondary([
  1. FButtonStyle style(
    1. FButtonStyle
    )?
])

The button's secondary style.

Shorthand for the current context's FButtonStyles.secondary style.

Implementation

static FBaseButtonStyle Function(FButtonStyle) secondary([FButtonStyle Function(FButtonStyle)? style]) =>
    (_) => _Resolve(
      (context) => style?.call(context.theme.buttonStyles.secondary) ?? context.theme.buttonStyles.secondary,
    );