confirmStyle property

ButtonStyle get confirmStyle

Implementation

ButtonStyle get confirmStyle => _mergeButton(
  FilledButton.styleFrom(
    backgroundColor: resolvedConfirmBackground,
    foregroundColor: resolvedConfirmForeground,
    disabledBackgroundColor: resolvedDisabledButton,
    disabledForegroundColor: muted,
    minimumSize: Size(0, buttonHeight),
    padding: buttonPadding,
    textStyle: style(
      fontSize: buttonFontSize,
      weight: FontWeight.w600,
      color: resolvedConfirmForeground,
      override: buttonTextStyle,
    ),
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(buttonRadius),
    ),
    tapTargetSize: MaterialTapTargetSize.shrinkWrap,
  ),
  confirmButtonStyle,
);