FormAffixStyle class
Class for defining prefix and suffix of text form.
If you want to place a widget, use FormAffixStyle, and if you want to display text as is, create an object with FormAffixStyle.text.
icon can be placed in front of each widget.
テキストフォームのprefix、suffixを定義するためのクラス。
Widgetを設置したい場合は、FormAffixStyleを利用し、テキストをそのまま表示したい場合はFormAffixStyle.textでオブジェクトを作成します。
iconをそれぞれのWidgetの前に設置することが可能です。
- Available Extensions
- Annotations
Constructors
- FormAffixStyle(Widget? child, {Widget? icon, Color? iconColor, BoxConstraints? iconConstraints})
-
Class for defining prefix and suffix of text form.
const
- FormAffixStyle.text(String? label, {Widget? icon, Color? iconColor, BoxConstraints? iconConstraints, TextStyle? textStyle})
-
Class for defining prefix and suffix of text form.
const
Properties
- child → Widget?
-
Widget to be placed in prefix or suffix.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- icon → Widget?
-
An icon that appears before child or label.
final
- iconColor → Color?
-
Color. when icon is specified.
final
- iconConstraints → BoxConstraints?
-
BoxConstraints when icon is specified.
final
- label → String?
-
Text to be placed in prefix or suffix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
Text style when label is specified.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override