indicatorButton static method

Widget indicatorButton({
  1. required Icon icon,
  2. double size = 96,
  3. ShapeBorder? shape,
  4. EdgeInsets padding = paddingStepOne,
  5. EdgeInsets margin = paddingStepOne,
  6. Color? accentColor,
  7. ValueChanged<bool>? onChanged,
  8. Alignment? accentAligment,
  9. double accentIntensity = 0,
})

Implementation

static Widget indicatorButton(
        {required Icon icon,
        double size = 96,
        ShapeBorder? shape,
        EdgeInsets padding = paddingStepOne,
        EdgeInsets margin = paddingStepOne,
        Color? accentColor,
        ValueChanged<bool>? onChanged,
        Alignment? accentAligment,
        double accentIntensity = 0}) =>
    NeumorphicIndicatorButton(
      accentAligment: accentAligment,
      accentColor: accentColor,
      accentIntensity: accentIntensity,
      onChanged: onChanged,
      icon: icon,
      size: size,
      color: AppColors.mainColor,
      shape: shape ??
          RoundedRectangleBorder(
              borderRadius: BorderRadius.circular(roundedBorder)),
      padding: padding,
      margin: margin,
    );