PINTextFieldBuilderConfig class

Constructors

PINTextFieldBuilderConfig({required FocusNode focusNode, required InputDecoration decoration, bool autofocus = true, int maxLines = 1, int minLines = 1, required ValueChanged<String> onChanged, required int maxLength, required TextStyle style, bool showCursor = false, bool obscureText = false, TextEditingController? controller, required List<TextInputFormatter> inputFormatters, required TextInputType keyboardType})

Properties

autofocus bool
TextField 自动获取焦点
final
controller TextEditingController?
TextField controller
final
decoration InputDecoration
TextField 装饰器
final
focusNode FocusNode
TextField 焦点管理
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatters List<TextInputFormatter>
TextField 输入文本格式显示
final
keyboardType TextInputType
TextField 键盘弹出类型
final
maxLength int
TextField 最大输入长度
final
maxLines int
TextField 最大行数 默认 1
final
minLines int
TextField 最小行数 默认 1
final
obscureText bool
TextField 自动获取焦点
final
onChanged ValueChanged<String>
TextField 输入内容变化
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCursor bool
TextField 是否显示光标 默认不显示
final
style TextStyle
TextField 输入文字样式
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.
inherited