denseAwareOutlinedButtonStyle function

ButtonStyle denseAwareOutlinedButtonStyle(
  1. BuildContext context,
  2. double? minScreenWidthForTextBeforeScaling
)

Implementation

ButtonStyle denseAwareOutlinedButtonStyle(
  BuildContext context,
  double? minScreenWidthForTextBeforeScaling,
) {
  final buttonStyle =
      Theme.of(context).outlinedButtonTheme.style ?? const ButtonStyle();
  return _generateButtonStyle(
    context: context,
    buttonStyle: buttonStyle,
    minScreenWidthForTextBeforeScaling: minScreenWidthForTextBeforeScaling,
  );
}