PlateStyles class
车牌输入框和键盘样式
Constructors
- PlateStyles({TextStyle plateInputFieldTextStyle = plateInputFieldTextStyleLight, TextStyle newEnergyPlaceHolderTextStyle = newEnergyPlaceHolderTextStyleDark, Color plateInputFieldColor = plateInputFieldColorLight, Border plateInputBorder = plateInputBorderLight, Border plateInputFocusedBorder = plateInputFocusedBorderLight, Radius plateInputBorderRadius = const Radius.circular(8.0), Color plateSeparatorColor = plateSeparatorColorLight, Color keyboardBackgroundColor = keyboardBackgroundColorLight, Color keyboardButtonTextColor = keyboardButtonTextColorLight, Color keyboardButtonColor = keyboardButtonColorLight, Color keyboardButtonDisabledColor = keyboardButtonDisabledColorLight})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyboardBackgroundColor → Color
-
键盘背景色
final
- keyboardButtonColor → Color
-
键盘按钮背景色
final
- keyboardButtonDisabledColor → Color
-
键盘按钮不可用时的背景色
final
- keyboardButtonTextColor → Color
-
键盘按钮字体颜色
final
- newEnergyPlaceHolderTextStyle → TextStyle
-
新能源输入框占位字符样式
final
- plateInputBorder → Border
-
输入框边框
final
- plateInputBorderRadius → Radius
-
输入框边框圆角半径
final
- plateInputFieldColor → Color
-
输入框背景
final
- plateInputFieldTextStyle → TextStyle
-
车牌号字体样式
final
- plateInputFocusedBorder → Border
-
输入框获取焦点时的边框
final
- plateSeparatorColor → Color
-
省市与号码之间分隔符的颜色
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{TextStyle? plateInputFieldTextStyle, TextStyle? newEnergyPlaceHolderTextStyle, Color? plateInputFieldColor, Border? plateInputBorder, Border? plateInputFocusedBorder, Radius? plateInputBorderRadius, Color? plateSeparatorColor, Color? keyboardBackgroundColor, Color? keyboardButtonTextColor, Color? keyboardButtonColor, Color? keyboardButtonDisabledColor}) → PlateStyles -
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
Constants
- dark → const PlateStyles
- 黑暗风格
- keyboardBackgroundColorDark → const Color
- 黑暗风格键盘背景色
- keyboardBackgroundColorLight → const Color
- 明亮风格键盘背景色
- keyboardButtonColorDark → const Color
- 黑暗风格键盘按钮背景色
- keyboardButtonColorLight → const Color
- 明亮风格键盘按钮背景色
- keyboardButtonDisabledColorDark → const Color
- 黑暗风格键盘按钮不可用时的背景色
- keyboardButtonDisabledColorLight → const Color
- 明亮风格键盘按钮不可用时的背景色
- keyboardButtonTextColorDark → const Color
- 黑暗风格键盘按钮字体颜色
- keyboardButtonTextColorLight → const Color
- 明亮风格键盘按钮字体颜色
- light → const PlateStyles
- 明亮风格
- newEnergyPlaceHolderTextStyleDark → const TextStyle
- 黑暗风格车牌号字体样式
- newEnergyPlaceHolderTextStyleLight → const TextStyle
- 明亮风格车牌号字体样式
- plateInputBorderDark → const Border
- 黑暗风格输入框边框
- plateInputBorderLight → const Border
- 明亮风格输入框边框
- plateInputFieldColorDark → const Color
- 黑暗风格输入框背景色
- plateInputFieldColorLight → const Color
- 明亮风格输入框背景色
- plateInputFieldTextStyleDark → const TextStyle
- 黑暗风格车牌号字体样式
- plateInputFieldTextStyleLight → const TextStyle
- 明亮风格车牌号字体样式
- plateInputFocusedBorderDark → const Border
- 黑暗风格输入框获取焦点时的边框
- plateInputFocusedBorderLight → const Border
- 明亮风格输入框获取焦点时的边框
- plateSeparatorColorDark → const Color
- 黑暗风格分隔符的颜色
- plateSeparatorColorLight → const Color
- 明亮风格分隔符的颜色