MoonTextInputGroup class

Inheritance

Constructors

MoonTextInputGroup({Key? key, bool enabled = true, BorderRadiusGeometry? borderRadius, Clip? clipBehavior, Color? backgroundColor, Color? borderColor, Color? errorColor, Color? hintTextColor, Color? hoverBorderColor, Duration? transitionDuration, Curve? transitionCurve, EdgeInsetsGeometry? helperPadding, EdgeInsetsGeometry? textPadding, Decoration? decoration, String? semanticLabel, TextStyle? helperTextStyle, MoonTextInputGroupOrientation orientation = MoonTextInputGroupOrientation.vertical, required List<MoonFormTextInput> children, MoonTextInputGroupErrorBuilder? errorBuilder, Widget? helper})
Creates a Moon Design text input group.
const

Properties

backgroundColor Color?
The background color of the text input group.
final
borderColor Color?
The default border color of the text input group.
final
borderRadius BorderRadiusGeometry?
The border radius of the text input group.
final
children List<MoonFormTextInput>
The list of text inputs to display as the children of the text input group.
final
clipBehavior Clip?
The content will be clipped (or not) according to this option.
final
decoration Decoration?
The custom decoration of the text input group.
final
enabled bool
Whether the text input group is enabled. When false, taps are ignored and the opacity reduced.
final
errorBuilder MoonTextInputGroupErrorBuilder?
A builder to build the text input group error widget.
final
errorColor Color?
The color of the text input group in error state.
final
hashCode int
The hash code for this object.
no setterinherited
helper Widget?
The widget to display below the text input group. Not displayed in error state.
final
helperPadding EdgeInsetsGeometry?
The padding of the helper and errorBuilder widgets.
final
helperTextStyle TextStyle?
The text style of the helper or error state text.
final
hintTextColor Color?
The text color of the text input group hint.
final
hoverBorderColor Color?
The border color of the text input group on hover.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
orientation MoonTextInputGroupOrientation
The orientation of the text input group.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel String?
The semantic label for the text input group widget.
final
textPadding EdgeInsetsGeometry?
The padding of the text content.
final
transitionCurve Curve?
The curve of the text input group transition animation (enable and disable).
final
transitionDuration Duration?
The duration of the text input group transition animation (enable and disable).
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<MoonTextInputGroup>
Creates the mutable state for this widget at a given location in the tree.
override
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

Operators

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