FluentAutoSuggestBoxState<T> class

حالة FluentAutoSuggestBox

Constructors

FluentAutoSuggestBoxState({List<FluentAutoSuggestBoxItem<T>> items = const [], FluentAutoSuggestBoxItem<T>? selectedItem, String text = '', bool isLoading = false, Object? error, bool isOverlayVisible = false, bool isEnabled = true, bool isReadOnly = false})
const

Properties

error Object?
رسالة الخطأ (إن وجدت)
final
hasError bool
هل هناك خطأ
no setter
hashCode int
The hash code for this object.
no setterinherited
hasSelection bool
هل هناك عنصر مختار
no setter
isEmpty bool
هل القائمة فارغة
no setter
isEnabled bool
هل الحقل مفعل
final
isLoading bool
حالة التحميل
final
isNotEmpty bool
هل القائمة ليست فارغة
no setter
isOverlayVisible bool
هل القائمة مفتوحة
final
isReadOnly bool
هل الحقل للقراءة فقط
final
itemCount int
عدد العناصر
no setter
items List<FluentAutoSuggestBoxItem<T>>
قائمة العناصر
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItem FluentAutoSuggestBoxItem<T>?
العنصر المختار
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
text String
النص الحالي في حقل الإدخال
final

Methods

copyWith({List<FluentAutoSuggestBoxItem<T>>? items, FluentAutoSuggestBoxItem<T>? selectedItem, bool clearSelectedItem = false, String? text, bool? isLoading, Object? error, bool clearError = false, bool? isOverlayVisible, bool? isEnabled, bool? isReadOnly}) FluentAutoSuggestBoxState<T>
نسخة معدلة من الحالة
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited