WFormBorderConfig class

表单边框配置类,定义边框的样式和构建器

Constructors

WFormBorderConfig()
构造函数,设置默认值

Properties

configForTagCallback ← WFormBorderConfig? Function(String tag, WFormBorderConfig currentConfig)
标签配置回调函数 setter
no getter
defaultDecoration ← WFormBorderDecoration?
默认状态装饰 setter
no getter
errorBuilder ← dynamic Function(List<String>? list)
错误文本构建器 setter
no getter
errorDecoration ← WFormBorderDecoration?
错误状态装饰 setter
no getter
focusedDecoration ← WFormBorderDecoration?
聚焦状态装饰 setter
no getter
hashCode → int
The hash code for this object.
no setterinherited
hintBuilder ← dynamic Function(List<String>? list)
提示文本构建器 setter
no getter
readOnlyDecoration ← WFormBorderDecoration?
只读状态装饰 setter
no getter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build({List<String>? hintTextList, bool? isReadOnly, bool? isTransparentBackground, required Widget child}) → WFormBorder
构建 WFormBorder 组件
copy() → WFormBorderConfig
复制当前配置,返回一个新的 WFormBorderConfig 实例
copyWith({WFormBorderDecoration? defaultDecoration, WFormBorderDecoration? readOnlyDecoration, WFormBorderDecoration? errorDecoration, WFormBorderDecoration? focusedDecoration, dynamic hintBuilder(List<String>? list)?, dynamic errorBuilder(List<String>? list)?, WFormBorderConfig? configForTagCallback(String tag, WFormBorderConfig currentConfig)?}) → WFormBorderConfig
创建当前配置的副本,并可以选择性地更新某些属性
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