BrnAppraiseBottomPicker class

描述: 评价组件bottom picker, 对BrnAppraise做了一层封装,可直接使用在showDialog里面

Inheritance
Available Extensions

Constructors

BrnAppraiseBottomPicker({Key? key, String title = '', BrnAppraiseHeaderType headerType = BrnAppraiseHeaderType.spaceBetween, BrnAppraiseType type = BrnAppraiseType.star, List<String>? iconDescriptions, List<String>? tags, String inputHintText = '', BrnAppraiseConfirmClick? onConfirm, BrnAppraiseConfig config = const BrnAppraiseConfig()})
create BrnAppraiseBottomPicker

Properties

config BrnAppraiseConfig
评价组件的配置项
final
hashCode int
The hash code for this object.
no setterinherited
headerType BrnAppraiseHeaderType
标题类型
final
iconDescriptions List<String>?
自定义文案 若评分组件为表情,则list长度为5,不足5个时请在对应位置补空字符串 若评分组件为星星,则list长度不能比count小
final
inputHintText String
输入框允许提示文案
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onConfirm BrnAppraiseConfirmClick?
提交按钮的点击回调
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
标签
final
title String
标题
final
type BrnAppraiseType
评分组件类型,分为表情包和星星,默认星星
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _BrnAppraiseBottomPickerState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited