checkBox static method

Widget checkBox({
  1. EdgeInsets padding = paddingStepOne,
  2. EdgeInsets margin = paddingStepOne,
  3. ValueChanged<bool>? onChanged,
})

Implementation

static Widget checkBox(
        {EdgeInsets padding = paddingStepOne,
        EdgeInsets margin = paddingStepOne,
        ValueChanged<bool>? onChanged}) =>
    NeumorphicSwitch(
      padding: padding,
      margin: margin,
      borderRadius: borderRadius,
      onChanged: onChanged,
    );