counter static method

Widget counter({
  1. EdgeInsets padding = paddingStepOne,
  2. EdgeInsets margin = paddingStepOne,
  3. int initialValue = 0,
  4. int minValue = 1,
  5. ValueChanged<int>? onChanged,
})

Implementation

static Widget counter(
        {EdgeInsets padding = paddingStepOne,
        EdgeInsets margin = paddingStepOne,
        int initialValue = 0,
        int minValue = 1,
        ValueChanged<int>? onChanged}) =>
    NeumorphicCounter(
      padding: padding,
      minValue: minValue,
      initialValue: initialValue,
      margin: margin,
      animationDuration: animationDuration,
      borderRadius: borderRadius,
      onChanged: onChanged,
    );