UTextFieldAutoComplete<T> constructor
const
UTextFieldAutoComplete<T> ({
- required List<
T> items, - required String labelBuilder(
- T
- required void onChanged(
- T
- required T selectedItem,
- Key? key,
- String? hintText,
- String? title,
- EdgeInsetsGeometry? margin,
- bool visible = true,
- double? opacity,
- BoxFit? fit,
- AlignmentGeometry fitAlignment = Alignment.center,
- double? scale,
- double? rotate,
- Offset? translate,
- bool center = false,
- bool safeArea = false,
- int? expanded,
- int? flexible,
- bool positioned = false,
- double? left,
- double? top,
- double? right,
- double? bottom,
- double? positionedWidth,
- 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,
});