DropdowWidget constructor

const DropdowWidget({
  1. Key? key,
  2. ItemModel? valorDefecto,
  3. required List<ItemModel> valores,
  4. String? titulo,
  5. ValueChanged<ItemModel?>? onChanged,
  6. FocusNode? focusNode,
  7. double? sizeTitulo,
  8. double? sizeItem,
  9. Widget? label,
  10. int elevetion = 0,
  11. Color? dropdownColor,
  12. Color? iconDisabledColor,
  13. Color? iconEnabledColor,
  14. double iconSize = 24.0,
  15. InputBorder? enabledBorder,
  16. InputBorder? disabledBorder,
})

Implementation

const DropdowWidget({
  super.key,
  this.valorDefecto,
  required this.valores,
  this.titulo,
  this.onChanged,
  this.focusNode,
  this.sizeTitulo,
  this.sizeItem,
  this.label,
  this.elevetion = 0,
  this.dropdownColor,
  this.iconDisabledColor,
  this.iconEnabledColor,
  this.iconSize = 24.0,
  this.enabledBorder,
  this.disabledBorder,
});