SplashButton constructor
const
SplashButton({
- Key? key,
- required void onTap(),
- required Widget child,
- Color color = Colors.blue,
- EdgeInsetsGeometry? padding,
- BorderRadius? borderRadius,
- List<
BoxShadow> ? boxShadow, - BoxShape shape = BoxShape.rectangle,
Implementation
const SplashButton({
Key? key,
required this.onTap,
required this.child,
this.color = Colors.blue,
EdgeInsetsGeometry? padding,
BorderRadius? borderRadius,
this.boxShadow,
this.shape = BoxShape.rectangle,
}) : padding = padding ?? const EdgeInsets.all(20.0),
borderRadius =
borderRadius ?? const BorderRadius.all(Radius.circular(20.0)),
super(key: key);