cancelStyle property

ButtonStyle get cancelStyle

Implementation

ButtonStyle get cancelStyle => _mergeButton(
  OutlinedButton.styleFrom(
    backgroundColor: cancelBackground,
    foregroundColor: resolvedCancelForeground,
    minimumSize: Size(0, buttonHeight),
    padding: buttonPadding,
    side: BorderSide(color: resolvedCancelBorder, width: borderWidth),
    textStyle: style(
      fontSize: buttonFontSize,
      weight: FontWeight.w600,
      color: resolvedCancelForeground,
      override: buttonTextStyle,
    ),
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.circular(buttonRadius),
    ),
    tapTargetSize: MaterialTapTargetSize.shrinkWrap,
  ),
  cancelButtonStyle,
);