FieldWidgets<T> class

Inheritance

Constructors

FieldWidgets({Object? key, T? object, String? label, dynamic value, dynamic type, TextEditingController? controller, String? initialValue, FocusNode? focusNode, InputDecoration? inputDecoration, TextInputType? keyboardType, TextCapitalization? textCapitalization, TextInputAction? textInputAction, TextSpan? textSpan, TextStyle? style, TextAlign? textAlign, bool? autofocus, bool? obscureText, bool? autocorrect, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines, int? maxLength, ValueChanged<String>? changed, VoidCallback? editingComplete, ValueChanged<String>? fieldSubmitted, FormFieldSetter<String>? saved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, Brightness? keyboardAppearance, EdgeInsets? scrollPadding, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, Widget? leading, Widget? title, Widget? subtitle, Widget? trailing, bool? isThreeLine, bool? dense, EdgeInsetsGeometry? contentPadding, GestureTapCallback? tap, GestureLongPressCallback? longPress, bool? selected, Color? focusColor, Color? hoverColor, Color? tileColor, Color? selectedTileColor, Widget? secondary, ListTileControlAffinity? controlAffinity, Color? backgroundColor, ImageProvider<Object>? backgroundImage, Color? foregroundColor, double? radius, double? minRadius, double? maxRadius, Widget? child, Widget? background, Widget? secondaryBackground, VoidCallback? resize, DismissDirectionCallback? dismissed, DismissDirection? direction, Duration? resizeDuration, Map<DismissDirection, double>? dismissThresholds, Duration? movementDuration, double? crossAxisEndOffset, ValueChanged<bool>? toggle, Color? activeColor, bool? tristate, MaterialTapTargetSize? materialTapTargetSize})

Properties

activeColor Color?
getter/setter pair
autocorrect bool?
getter/setter pair
autofillHints Iterable<String>?
getter/setter pair
autofocus bool?
getter/setter pair
autovalidateMode AutovalidateMode?
getter/setter pair
background Widget?
getter/setter pair
backgroundColor Color?
CircleAvatar
getter/setter pair
backgroundImage ImageProvider<Object>?
getter/setter pair
buildCounter InputCounterWidgetBuilder?
getter/setter pair
changed ValueChanged<String>?
getter/setter pair
checkbox Checkbox
no setter
checkboxListTile CheckboxListTile
no setter
child Widget?
Dismissible
getter/setter pair
circleAvatar CircleAvatar
no setter
contentPadding EdgeInsetsGeometry?
getter/setter pair
controlAffinity ListTileControlAffinity?
getter/setter pair
controller TextEditingController?
TextFormField
getter/setter pair
crossAxisEndOffset double?
getter/setter pair
defaultTextStyle DefaultTextStyle
no setter
dense bool?
getter/setter pair
direction DismissDirection?
getter/setter pair
dismissed DismissDirectionCallback?
getter/setter pair
dismissible Dismissible
no setter
dismissThresholds Map<DismissDirection, double>?
getter/setter pair
editingComplete VoidCallback?
getter/setter pair
enabled bool?
getter/setter pair
fieldSubmitted ValueChanged<String>?
getter/setter pair
focusColor Color?
getter/setter pair
focusNode FocusNode?
getter/setter pair
foregroundColor Color?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hoverColor Color?
getter/setter pair
id ↔ dynamic
getter/setter pairinherited
initialValue String?
getter/setter pair
inputDecoration InputDecoration?
getter/setter pair
inputFormatters List<TextInputFormatter>?
getter/setter pair
isThreeLine bool?
getter/setter pair
items Iterable<DataFieldItem>?
getter/setter pair
key String?
no setter
keyboardAppearance Brightness?
getter/setter pair
keyboardType TextInputType?
getter/setter pair
label String?
getter/setter pairinherited
leading Widget?
ListTile
getter/setter pair
listItems ListItems<T>
no setter
listTile Widget
no setter
locale Locale?
getter/setter pair
longPress GestureLongPressCallback?
getter/setter pair
materialTapTargetSize MaterialTapTargetSize?
getter/setter pair
maxLength int?
getter/setter pair
maxLengthEnforcement MaxLengthEnforcement?
getter/setter pair
maxLines int?
getter/setter pair
maxRadius double?
getter/setter pair
minRadius double?
getter/setter pair
movementDuration Duration?
getter/setter pair
object ↔ T?
getter/setter pair
obscureText bool?
getter/setter pair
overflow TextOverflow?
getter/setter pair
radius double?
getter/setter pair
resize VoidCallback?
getter/setter pair
resizeDuration Duration?
getter/setter pair
richText Text
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saved FormFieldSetter<String>?
getter/setter pair
scrollPadding EdgeInsets?
getter/setter pair
scrollPhysics ScrollPhysics?
getter/setter pair
secondary Widget?
CheckboxListTile
getter/setter pair
secondaryBackground Widget?
getter/setter pair
selected bool?
getter/setter pair
selectedTileColor Color?
getter/setter pair
semanticsLabel String?
getter/setter pair
softWrap bool?
getter/setter pair
style TextStyle?
getter/setter pair
subtitle Widget?
getter/setter pair
tap GestureTapCallback?
getter/setter pair
text Text
no setter
textAlign TextAlign?
getter/setter pair
textCapitalization TextCapitalization?
getter/setter pair
textDirection TextDirection?
getter/setter pair
textFormField Widget
no setter
textHeightBehavior TextHeightBehavior?
getter/setter pair
textInputAction TextInputAction?
getter/setter pair
textScaleFactor double?
getter/setter pair
textSpan TextSpan?
Text
getter/setter pair
textWidthBasis TextWidthBasis?
getter/setter pair
tileColor Color?
getter/setter pair
title Widget?
getter/setter pair
toggle ValueChanged<bool>?
getter/setter pair
toMap Map<String, dynamic>
no setterinherited
trailing Widget?
getter/setter pair
tristate bool?
getter/setter pair
type ↔ dynamic
getter/setter pairinherited
validator FormFieldValidator<String>?
getter/setter pair
value ↔ dynamic
getter/setter pairinherited

Methods

initials(String fullName) String
isChanged({bool? changed}) bool
keys({String? id, String? label, String? value, String? type}) → void
Assigns the names for the 'label' field and the 'value' field.
inherited
mapItems<U extends FieldWidgets<T>>(String key, List<DataFieldItem>? items, U create(DataFieldItem dataItem), [U? itemsObj]) List<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBackground() Widget
onChanged(String? value) → void
onCheckBox({bool? value, ValueChanged<bool>? onChanged, Color? activeColor, bool? tristate, MaterialTapTargetSize? materialTapTargetSize}) Checkbox
onCheckboxListTile({bool? value, ValueChanged<bool>? onChanged, Color? activeColor, Widget? title, Widget? subtitle, bool? isThreeLine, bool? dense, Widget? secondary, bool? selected, ListTileControlAffinity? controlAffinity}) CheckboxListTile
onChild() Widget
onCircleAvatar({Color? backgroundColor, Color? foregroundColor, ImageProvider<Object>? backgroundImage, double? radius, double? minRadius, double? maxRadius}) CircleAvatar
onDefaultTextStyle({TextStyle? style, TextAlign? textAlign, bool? softWrap, TextOverflow? overflow, int? maxLines, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior, Widget? child}) DefaultTextStyle
onDismissed(DismissDirection direction) → void
onDismissible({Widget? child, Widget? background, Widget? secondaryBackground, VoidCallback? resize, DismissDirectionCallback? dismissed, DismissDirection? direction, Duration? resizeDuration, Map<DismissDirection, double>? dismissThresholds, Duration? movementDuration, double? crossAxisEndOffset}) Dismissible
onDropItems() List<String>?
Allow a subclass supply the drop items.
one2Many<U extends FieldWidgets<T>>(U create()) → void
Convert a list item into separate objects.
onEditingComplete() → void
onFieldSubmitted(String v) → void
onLeading() Widget?
onListItems({String? title, List<FieldWidgets<T>>? items, MapItemFunction? mapItem, GestureTapCallback? onTap, ValueChanged<String?>? onChanged, List<String>? dropItems}) ListItems<T>
onListTile({Widget? leading, Widget? title, Widget? subtitle, Widget? trailing, bool? isThreeLine, bool? dense, EdgeInsetsGeometry? contentPadding, bool? enabled, GestureTapCallback? tap, GestureLongPressCallback? longPress, bool? selected}) Widget
onLongPress() → void
onResize() → void
onRichText({TextSpan? textSpan, TextStyle? style, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) Text
onSaved(dynamic v) → void
onSecondary() Widget?
onSecondaryBackground() Widget?
onSubtitle() Widget
onTap() → void
onText({TextSpan? textSpan, TextStyle? style, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior}) Text
onTextFormField({TextEditingController? controller, String? initialValue, FocusNode? focusNode, InputDecoration? inputDecoration, TextInputType? keyboardType, TextCapitalization? textCapitalization, TextInputAction? textInputAction, TextStyle? style, TextAlign? textAlign, bool? autofocus, bool? obscureText, bool? autocorrect, bool? autovalidate, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines, int? maxLength, VoidCallback? editingComplete, ValueChanged<String>? fieldSubmitted, FormFieldSetter<String>? saved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, Brightness? keyboardAppearance, EdgeInsets? scrollPadding, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode, bool create = false}) TextFormField
onTitle() Widget
onToggle({bool? value}) → void
onTrailing() Widget?
onValidator(String? v) String?
TextFormField({TextEditingController? controller, String? initialValue, FocusNode? focusNode, InputDecoration? inputDecoration, TextInputType? keyboardType, TextCapitalization? textCapitalization, TextInputAction? textInputAction, TextStyle? style, TextAlign? textAlign, bool? autofocus, bool? obscureText, bool? autocorrect, bool? autovalidate, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines, int? maxLength, ValueChanged<String>? changed, VoidCallback? editingComplete, ValueChanged<String>? fieldSubmitted, FormFieldSetter<String>? saved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, Brightness? keyboardAppearance, EdgeInsets? scrollPadding, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode}) Widget
toString() String
A string representation of this object.
inherited

Operators

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