NeumorphicSoftRoundButton constructor
const
NeumorphicSoftRoundButton({
- ShapeBorder shape = const ContinuousRectangleBorder(),
- Duration animationDuration = genericDuration,
- EdgeInsets padding = emptyPadding,
- EdgeInsets margin = emptyMargin,
- Icon? icon,
- String? text,
- Color? textColor,
- Size size = const Size(elementWidthOne, elementHeightOne),
- Color color = const Color.fromARGB(0, 0, 0, 0),
- Gradient? gradient,
- double elevationMultiplier = 1,
- Color? accentColor = const Color(0x00FFFFFF),
- Alignment? accentAligment = Alignment.center,
- double accentIntensity = 0,
- VoidCallback? onTap,
- bool toggle = false,
- Key? key,
Implementation
const NeumorphicSoftRoundButton(
{this.shape = const ContinuousRectangleBorder(),
this.animationDuration = genericDuration,
this.padding = emptyPadding,
this.margin = emptyMargin,
this.icon,
this.text,
this.textColor,
this.size = const Size(elementWidthOne, elementHeightOne),
this.color = const Color.fromARGB(0, 0, 0, 0),
this.gradient,
this.elevationMultiplier = 1,
this.accentColor = const Color(0x00FFFFFF),
this.accentAligment = Alignment.center,
this.accentIntensity = 0,
this.onTap,
this.toggle = false,
super.key});