S360fDropDown constructor
const
S360fDropDown({
- required String? label,
- required ValueChanged<
Object?> onChanged, - required List<
String> items, - Key? key,
- String? value,
- String hint = 'Select an option',
- double? itemWidth,
- double? height,
- bool? readOnly = false,
- bool? isRequired = false,
- bool? isError = false,
- bool? isFullWidth = false,
- bool? isFilled = false,
- Color? filledColor = Colors.white,
- String? errorMessage = '',
- double maxTextFieldHeight = 46.0,
- String? tooltipMessage,
- Widget? tooltipIcon,
- Color? tooltipIconColor,
Implementation
const S360fDropDown({
required this.label,
required this.onChanged,
required List<String> items,
super.key,
this.value,
this.hint = 'Select an option',
this.itemWidth,
this.height,
this.readOnly = false,
this.isRequired = false,
this.isError = false,
this.isFullWidth = false,
this.isFilled = false,
this.filledColor = Colors.white,
this.errorMessage = '',
this.maxTextFieldHeight = 46.0,
this.tooltipMessage,
this.tooltipIcon,
this.tooltipIconColor,
}) : stringItems = items,
dropdownItems = null;