NeumorphicAccentRoundButton constructor

const NeumorphicAccentRoundButton({
  1. ShapeBorder shape = const ContinuousRectangleBorder(),
  2. Duration animationDuration = Duration.zero,
  3. EdgeInsets padding = emptyPadding,
  4. EdgeInsets margin = emptyMargin,
  5. Widget? child,
  6. Size size = const Size(0, 0),
  7. Color color = const Color.fromARGB(0, 0, 0, 0),
  8. VoidCallback? onTap,
  9. AccentButtonCallback? accentChanged,
  10. bool toggle = false,
  11. Key? key,
})

Implementation

const NeumorphicAccentRoundButton(
    {this.shape = const ContinuousRectangleBorder(),
    this.animationDuration = Duration.zero,
    this.padding = emptyPadding,
    this.margin = emptyMargin,
    this.child,
    this.size = const Size(0, 0),
    this.color = const Color.fromARGB(0, 0, 0, 0),
    this.onTap,
    this.accentChanged,
    this.toggle = false,
    Key? key})
    : super(key: key);