ReadyMultiPicker<T, Args, TController extends ReadyPickerController<T, Args>> class

Inheritance

Constructors

ReadyMultiPicker({InputDecoration decoration = const InputDecoration(), required TController controller, Color? inActiveColor, Key? key, Color? activeColor, FocusNode? focusNode, TextStyle? itemTextStyle, TextStyle? textStyle, FormFieldSetter<List<T>>? onSaved, FormFieldSetter<List<T>>? onChanged, FormFieldValidator<List<T>>? validator, List<T>? initialValue, AutovalidateMode? autovalidateMode, int? maxLines, TextAlign textAlign = TextAlign.start, bool enabled = true, Future<T> showItems(BuildContext context, Widget child)?})
ReadyMultiPicker.builder({required TController controller, required Widget builder(FormFieldState<List<T>> field)?, Color? inActiveColor, Key? key, FocusNode? focusNode, Color? activeColor, TextStyle? itemTextStyle, TextStyle? textStyle, FormFieldSetter<List<T>>? onSaved, FormFieldSetter<List<T>>? onChanged, FormFieldValidator<List<T>>? validator, List<T>? initialValue, AutovalidateMode? autovalidateMode, bool enabled = true, Future<T> showItems(BuildContext context, Widget child)?})
ReadyMultiPicker.buildItem({InputDecoration decoration = const InputDecoration(), required TController controller, Key? key, TextStyle? textStyle, FormFieldSetter<List<T>>? onSaved, FormFieldSetter<List<T>>? onChanged, FormFieldValidator<List<T>>? validator, FocusNode? focusNode, List<T>? initialValue, AutovalidateMode? autovalidateMode, int? maxLines, TextAlign textAlign = TextAlign.start, bool enabled = true, Future<T> showItems(BuildContext context, Widget child)?, required Widget buildItem(TController controller, T? item, bool selected, VoidCallback onTap)})

Properties

activeColor Color?
final
autovalidateMode AutovalidateMode?
final
builder → (Widget Function(FormFieldState<List<T>> field)?)
final
buildItem ItemBuilderCallback<T, Args, TController>?
no setter
child Widget
The widget below this widget in the tree.
finalinherited
controller → TController
final
decoration InputDecoration
final
enabled bool
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
inActiveColor Color?
final
initialValue List<T>?
final
itemTextStyle TextStyle?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
maxLines int?
final
onChanged FormFieldSetter<List<T>>?
final
onSaved FormFieldSetter<List<T>>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showItems → (Future<T> Function(BuildContext context, Widget child)?)
final
textAlign TextAlign
final
textStyle TextStyle?
final
validator FormFieldValidator<List<T>>?
final

Methods

createElement() InheritedElement
Inflates this configuration to a concrete instance.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited
updateShouldNotify(covariant ReadyMultiPicker<T, Args, TController> oldWidget) bool
Whether the framework should notify widgets that inherit from this widget.
override

Operators

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

Static Methods

of<T, Args, TController extends ReadyPickerController<T, Args>>(BuildContext context) ReadyMultiPicker<T, Args, TController>?