preferredOutlinedButtonStyle function
ButtonStyle
preferredOutlinedButtonStyle(
- ColorScheme colorScheme, [
- 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,
);