NeumorphicExtendedActionContainer constructor

const NeumorphicExtendedActionContainer({
  1. ShapeBorder shape = const ContinuousRectangleBorder(),
  2. Duration animationDuration = Duration.zero,
  3. EdgeInsets padding = const EdgeInsets.all(0),
  4. EdgeInsets margin = const EdgeInsets.all(0),
  5. Widget? child,
  6. required Size size,
  7. Color color = const Color.fromARGB(0, 0, 0, 0),
  8. Gradient? gradient,
  9. Color? accentColor,
  10. Alignment? accentAligment,
  11. double accentIntensity = 0,
  12. VoidCallback? onTap,
  13. bool toggle = false,
  14. Key? key,
})

Creates a NeumorphicExtendedActionContainer widget.

The shape, animationDuration, padding, margin, size, color, and toggle arguments must not be null.

Implementation

const NeumorphicExtendedActionContainer({
  this.shape = const ContinuousRectangleBorder(),
  this.animationDuration = Duration.zero,
  this.padding = const EdgeInsets.all(0),
  this.margin = const EdgeInsets.all(0),
  this.child,
  required this.size,
  this.color = const Color.fromARGB(0, 0, 0, 0),
  this.gradient,
  this.accentColor,
  this.accentAligment,
  this.accentIntensity = 0,
  this.onTap,
  this.toggle = false,
  super.key,
});