FloatingLabelAlignment class Null safety
Defines where the floating label should be displayed within an InputDecorator.
See also:
- InputDecoration.floatingLabelAlignment which defines the alignment for InputDecoration.label or InputDecoration.labelText.
- FloatingLabelBehavior which defines how the floating label should behave.
- Annotations
Properties
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- center → const FloatingLabelAlignment
-
Aligns the floating label to the center of an InputDecorator.
FloatingLabelAlignment._(0.0)
- start → const FloatingLabelAlignment
-
Align the floating label on the leading edge of the InputDecorator.
FloatingLabelAlignment._(-1.0)