AntdInputStyle class
输入框整体样式配置 @l AntdInput,AntdTextArea
- Inheritance
- Available extensions
Constructors
- AntdInputStyle.new({bool inherit = true, AntdBoxStyle? placeholderStyle, TextStyle? textStyle, TextStyle? obscureTextStyle, AntdBoxStyle? bodyStyle, AntInputCursorStyle? cursorStyle, String? obscuringCharacter, AntdIconStyle? clearIconStyle, AntdSelectionStyle? selectionStyle, AntdKeyboardStyle? keyboardStyle, Widget? clearIcon, AntdIconStyle? obscureIconStyle, Widget? obscureIcon, AntdIconStyle? activeObscureIconStyle, Widget? activeObscureIcon, AntdFlexStyle? rowStyle, Color? autocorrectionColor})
-
const
Properties
- activeObscureIcon → Widget?
-
密码显示状态图标
final
- activeObscureIconStyle → AntdIconStyle?
-
密码显示状态图标样式配置
final
- autocorrectionColor → Color?
-
自动修正文本区域颜色
final
- bodyStyle → AntdBoxStyle?
-
输入框容器样式
final
- clearIcon → Widget?
-
清除按钮图标
final
- clearIconStyle → AntdIconStyle?
-
图标样式配置
final
- cursorStyle → AntInputCursorStyle?
-
光标样式配置
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inherit → bool
-
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
- keyboardStyle → AntdKeyboardStyle?
-
键盘样式配置
final
- obscureIcon → Widget?
-
密码隐藏状态图标
final
- obscureIconStyle → AntdIconStyle?
-
密码隐藏状态图标样式配置
final
- obscureTextStyle → TextStyle?
-
密码模式文本样式
final
- obscuringCharacter → String?
-
密码模式替代字符,默认"•"
final
- placeholderStyle → AntdBoxStyle?
-
占位符文本样式
final
- rowStyle → AntdFlexStyle?
-
布局行样式配置
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionStyle → AntdSelectionStyle?
-
文本选择样式配置
final
- textStyle → TextStyle?
-
常规文本样式
final
Methods
-
copyFrom(
covariant AntdInputStyle? style) → AntdInputStyle -
override
-
merge(
T? other) → T? -
Available on T?, provided by the StyleExtensions extension
-
mergeActive(
T? defaultStyle, T? tdStyle, T? tdaStyle) → T? -
Available on T?, provided by the StyleExtensions extension
-
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.
inherited