Toggle constructor
const
Toggle({})
Implementation
const Toggle({
Key? key,
required ToggleModel model,
required Future<bool> Function(String, dynamic)? onValueChanged,
Widget Function(int, String)? dateBuilder,
}) : _dateBuilder = dateBuilder, _onValueChanged = onValueChanged, _model = model, super(key: key);