indicatorButton static method
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,
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,
);