BrnAppraiseConfig class
Constructors
-
BrnAppraiseConfig({bool showHeader = true, EdgeInsets? headerPadding, int titleMaxLines = 1, BrnAppraiseCloseClickCallBack? onCancel, List<
int> indexes = const [0, 1, 2, 3, 4], int count = 5, String starAppraiseHint = '', bool multiSelect = true, int tagCountEachRow = 2, bool showTextInput = true, int maxLength = 100, int maxHintLines = 1, String? inputDefaultText, double inputMaxHeight = 120, bool showConfirmButton = true, String? confirmButtonText, bool? isConfirmButtonEnabled, BrnAppraiseIconClick? iconClickCallback, BrnInputTextChangeCallback? inputTextChangeCallback, BrnAppraiseTagClick? tagSelectCallback}) -
create BrnAppraiseConfig
const
Properties
- confirmButtonText → String?
-
确认按钮的文案,默认 '提交'
final
- count → int
-
展示的星星的数目
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerPadding → EdgeInsets?
-
标题的padding
final
- iconClickCallback → BrnAppraiseIconClick?
-
点击icon的回调
final
-
indexes
→ List<
int> -
所需表情包的index列表,index最大值为4
final
- inputDefaultText → String?
-
输入框默认输入文案
final
- inputMaxHeight → double
-
输入框的最大高度,默认为 120
final
- inputTextChangeCallback → BrnInputTextChangeCallback?
-
输入框改变的回调
final
- isConfirmButtonEnabled → bool?
-
外部控制提交button的enable状态,null有效,不设置默认值
final
- maxHintLines → int
-
提示文案的最大行数,默认为1
final
- maxLength → int
-
输入框允许输入的最大长度,默认为 100
final
- multiSelect → bool
-
标签是否支持多选,默认为 true
final
- onCancel → BrnAppraiseCloseClickCallBack?
-
取消的回调
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showConfirmButton → bool
-
是否显示确认按钮
final
- showHeader → bool
-
是否显示标题和关闭
final
- showTextInput → bool
-
是否显示输入框,默认为 true
final
- starAppraiseHint → String
-
展示星星时的默认提示
final
- tagCountEachRow → int
-
每行能显示的tag数目,默认为 2
final
- tagSelectCallback → BrnAppraiseTagClick?
-
选择标签的回调
final
- titleMaxLines → int
-
标题的最大行数
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