ButtonSplashStyle.glow constructor
ButtonSplashStyle.glow({
- Color? glowColor,
- double glowOpacity = 0.15,
- BorderRadius? borderRadius,
- WidgetStateProperty<
Color?> ? overlayColor,
Soft glow effect that radiates from touch point Creates a softer, more organic feel
Implementation
factory ButtonSplashStyle.glow({
Color? glowColor,
double glowOpacity = 0.15,
BorderRadius? borderRadius,
WidgetStateProperty<Color?>? overlayColor,
}) {
return ButtonSplashStyle._(
type: ButtonSplashType.glow,
splashColor: glowColor,
splashOpacity: glowOpacity,
borderRadius: borderRadius,
splashFactory: InkSparkle.splashFactory,
overlayColor: overlayColor,
);
}