AFieldDropDown<T> constructor

const AFieldDropDown<T>({
  1. required List<AOption<T>>? options,
  2. void onChanged(
    1. T?
    )?,
  3. Key? key,
  4. bool readOnly = false,
  5. bool required = false,
  6. required String? label,
  7. required String identifier,
  8. bool searchable = false,
  9. bool loading = false,
  10. T? initialValue,
  11. int? flexible,
  12. bool expanded = false,
  13. EdgeInsets? margin,
  14. double height = 46,
  15. double? width,
  16. WidgetBuilder? menuFooter,
  17. bool linkToAForm = true,
  18. VoidCallback? onSubmit,
  19. List<ARule<T>>? customRules,
  20. EdgeInsets? padding,
  21. bool readonly = false,
})

Implementation

const AFieldDropDown({
  required this.options,
  super.onChanged,
  super.key,
  super.readOnly,
  super.required,
  required super.label,
  required super.identifier,
  this.searchable = false,
  this.loading = false,
  super.initialValue,
  super.flexible,
  super.expanded,
  super.margin,
  this.height = 46,
  this.width,
  this.menuFooter,
  super.linkToAForm,
  super.onSubmit,
  super.customRules,
  super.padding,
  super.readonly,
});