StandardDropdownMenu<T> constructor

const StandardDropdownMenu<T>({
  1. Key? key,
  2. required List<DropdownOption> options,
  3. String? placeholderText,
  4. dynamic onChanged(
    1. DropdownOption?
    )?,
  5. String? initialValue,
  6. double? width,
  7. VoidCallback? onClear,
  8. bool enabled = true,
  9. String? helperText,
  10. IconData? leadingIcon,
  11. String? validator(
    1. String?
    )?,
  12. bool hasError = false,
  13. String? errorText,
})

Implementation

const StandardDropdownMenu({
  super.key,
  required this.options,
  this.placeholderText,
  this.onChanged,
  this.initialValue,
  this.width,
  this.onClear,
  this.enabled = true,
  this.helperText,
  this.leadingIcon,
  this.validator,
  this.hasError = false,
  this.errorText,
});