AFieldDropDownLazy<T> constructor

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

Implementation

const AFieldDropDownLazy({
  super.key,
  required super.label,
  required super.identifier,
  required this.loadItems,
  super.searchable,
  super.flexible,
  super.expanded,
  super.initialValue,
  super.required,
  super.margin,
  super.onChanged,
  super.height,
  super.width,
  super.linkToAForm,
  super.loading,
  super.menuFooter,
  super.onSubmit,
  super.readOnly,
  super.customRules,
  super.padding,
  super.readonly,
}) : super(
  options: null,
);