switch_ abstract method

Widget switch_({
  1. String? label,
  2. bool value = false,
  3. void onValueChanged(
    1. bool
    ),
  4. bool isSelected = false,
  5. ItemSize size = ItemSize.medium,
  6. bool isDisabled = false,
  7. bool isReadOnly = false,
})

Implementation

Widget switch_({
  String? label,
  bool value = false,
  void Function(bool) onValueChanged,
  bool isSelected = false,
  ItemSize size = ItemSize.medium,
  bool isDisabled = false,
  bool isReadOnly = false,
});