NeumorphicCounter constructor

const NeumorphicCounter({
  1. int initialValue = 0,
  2. int maxValue = 10,
  3. int minValue = 0,
  4. ValueChanged<int>? onChanged,
  5. EdgeInsets margin = emptyMargin,
  6. double borderRadius = 0,
  7. Duration animationDuration = Duration.zero,
  8. EdgeInsets padding = emptyPadding,
  9. Key? key,
})

Creates a NeumorphicCounter widget.

The initialValue, maxValue, minValue, margin, borderRadius, animationDuration, and padding arguments must not be null.

Implementation

const NeumorphicCounter({
  this.initialValue = 0,
  this.maxValue = 10,
  this.minValue = 0,
  this.onChanged,
  this.margin = emptyMargin,
  this.borderRadius = 0,
  this.animationDuration = Duration.zero,
  this.padding = emptyPadding,
  super.key,
});