TFormField<T> class
Static Methods
-
date(TFieldProp<DateTime> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(DateTime?)>? rules, DateTime? firstDate, DateTime? lastDate, DateFormat? format})
→ TFormField<DateTime>
-
-
dateTime(TFieldProp<DateTime> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(DateTime?)>? rules, DateTime? firstDate, DateTime? lastDate, DateFormat? format})
→ TFormField<DateTime>
-
-
group<T extends TFormBase>(TFieldProp<T> prop, {String? label})
→ TFormField<T>
-
-
items<T extends TFormBase>(TFieldProp<List<T>> prop, T onNewItem(), {String? label, String buttonLabel = 'Add New', TItemAddPosition itemAddPosition = TItemAddPosition.first})
→ TFormField<List<T>>
-
-
multiSelect<T, V>(TFieldProp<List<V>> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(List<V>?)>? rules, List<T>? items, ItemTextAccessor<T>? itemText, ItemValueAccessor<T, V>? itemValue, ItemChildrenAccessor<T>? itemChildren, ItemKeyAccessor<T>? itemKey, bool multiLevel = false, int itemsPerPage = 10, TLoadListener<T>? onLoad, int searchDelay = 2500})
→ TFormField<List<V>>
-
-
number<T extends num>(TFieldProp<T> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(T?)>? rules, T? min, T? max, T? increment, T? decrement, int? decimals})
→ TFormField<T>
-
-
select<T, V>(TFieldProp<V> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(V?)>? rules, List<T>? items, ItemTextAccessor<T>? itemText, ItemValueAccessor<T, V>? itemValue, ItemChildrenAccessor<T>? itemChildren, ItemKeyAccessor<T>? itemKey, bool multiLevel = false, int itemsPerPage = 10, TLoadListener<T>? onLoad, int searchDelay = 2500})
→ TFormField<V>
-
-
tags(TFieldProp<List<String>> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(List<String>?)>? rules})
→ TFormField<List<String>>
-
-
text(TFieldProp<String> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(String?)>? rules, int? rows})
→ TFormField<String>
-
-
time(TFieldProp<TimeOfDay> prop, String? label, {String? tag, String? placeholder, String? helperText, bool isRequired = false, bool disabled = false, List<String? Function(TimeOfDay?)>? rules, DateFormat? format})
→ TFormField<TimeOfDay>
-