UTextFieldAutoComplete<T> constructor

const UTextFieldAutoComplete<T>({
  1. required List<T> items,
  2. required String labelBuilder(
    1. T
    ),
  3. required void onChanged(
    1. T
    ),
  4. required T selectedItem,
  5. Key? key,
  6. String? hintText,
  7. String? title,
  8. EdgeInsetsGeometry? margin,
  9. bool visible = true,
  10. double? opacity,
  11. BoxFit? fit,
  12. AlignmentGeometry fitAlignment = Alignment.center,
  13. double? scale,
  14. double? rotate,
  15. Offset? translate,
  16. bool center = false,
  17. bool safeArea = false,
  18. int? expanded,
  19. int? flexible,
  20. bool positioned = false,
  21. double? left,
  22. double? top,
  23. double? right,
  24. double? bottom,
  25. double? positionedWidth,
  26. double? positionedHeight,
})

Implementation

const UTextFieldAutoComplete({
  required this.items,
  required this.labelBuilder,
  required this.onChanged,
  required this.selectedItem,
  super.key,
  this.hintText,
  this.title,
  this.margin,
  this.visible = true,
  this.opacity,
  this.fit,
  this.fitAlignment = Alignment.center,
  this.scale,
  this.rotate,
  this.translate,
  this.center = false,
  this.safeArea = false,
  this.expanded,
  this.flexible,
  this.positioned = false,
  this.left,
  this.top,
  this.right,
  this.bottom,
  this.positionedWidth,
  this.positionedHeight,
});