DropdownTextField<DataType> constructor

DropdownTextField<DataType>({
  1. String? label,
  2. String? hint,
  3. EdgeInsets? margin,
  4. dynamic validate,
  5. EdgeInsets? contentPadding,
  6. EdgeInsets? clearBtnPadding,
  7. EdgeInsets? arrowBtnPadding,
  8. bool useName = true,
  9. dynamic onChange,
  10. double? fontSize,
  11. double? textSize,
  12. double? labelSize,
  13. Color? hintColor,
  14. Color? buttonsColor,
  15. dynamic finData,
  16. GlobalKey<State<StatefulWidget>>? dropKey,
  17. dynamic data,
  18. Color? enableColor,
  19. DataType? selectedItem,
  20. bool showSelectedItem = false,
})

Implementation

DropdownTextField(
    {this.label,
      this.hint,
      this.margin,
      this.validate,
      this.contentPadding,
      this.clearBtnPadding,
      this.arrowBtnPadding,
      this.useName = true,
      this.onChange,
      this.fontSize,
      this.textSize,
      this.labelSize,
      this.hintColor,
      this.buttonsColor,
      this.finData,
      this.dropKey,
      this.data,
      this.enableColor,
      this.selectedItem,
      this.showSelectedItem = false});