newYork static method

Widget newYork({
  1. bool checked = false,
  2. ValueChanged<bool>? onChanged,
  3. double width = 38,
  4. double height = 18,
  5. double circleSize = 16,
  6. Color onStateCol = Colors.white,
  7. Color offStateCol = const Color.fromARGB(255, 39, 39, 42),
})

Implementation

static Widget newYork({
  bool checked = false,
  ValueChanged<bool>? onChanged,
  double width = 38,
  double height = 18,
  double circleSize = 16,
  Color onStateCol = Colors.white,
  Color offStateCol = const Color.fromARGB(255, 39, 39, 42),
}) {
  return MUISwitch(
    checked: checked,
    onChanged: onChanged,
    width: width,
    height: height,
    circleSize: circleSize,
    onStateCol: onStateCol,
    offStateCol: offStateCol,
  );
}