NeumorphicCounter constructor
const
NeumorphicCounter({
- int initialValue = 0,
- int maxValue = 10,
- int minValue = 0,
- ValueChanged<
int> ? onChanged, - EdgeInsets margin = emptyMargin,
- double borderRadius = 0,
- Duration animationDuration = Duration.zero,
- EdgeInsets padding = emptyPadding,
- 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,
});