preferredOutlinedButtonStyle function

ButtonStyle preferredOutlinedButtonStyle(
  1. ColorScheme colorScheme, [
  2. double splashColorOpacity = preferredSplashColorOpacity
])

Returns the preferred OutlinedButton's ButtonStyle by AoiHosizora :)

Implementation

ButtonStyle preferredOutlinedButtonStyle(
  ColorScheme colorScheme, [
  double splashColorOpacity = preferredSplashColorOpacity,
]) =>
    outlineButtonStyle(
      colorScheme,
      primary: colorScheme.primary,
      splashColor: colorScheme.primary.withOpacity(splashColorOpacity), // <<<
      splashFactory: CustomInkRipple.preferredSplashFactory,
    );