S360fToggle constructor
const
S360fToggle({
- required List<
CustomRadioOption> options, - required dynamic selectedValue,
- required void onChanged(
- dynamic
- Key? key,
- String? title,
- bool isRequired = false,
- double height = 40,
- double borderRadius = 20,
- EdgeInsets optionPadding = const EdgeInsets.symmetric(horizontal: 12),
- bool readonly = false,
- String? errorMessage,
- bool isError = false,
Implementation
const S360fToggle({
required this.options,
required this.selectedValue,
required this.onChanged,
super.key,
this.title,
this.isRequired = false,
this.height = 40,
this.borderRadius = 20,
this.optionPadding = const EdgeInsets.symmetric(horizontal: 12),
this.readonly = false,
this.errorMessage,
this.isError = false,
});