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