BrnAppraiseEmojiListView class
描述: 表情评价列表 最多支持5个表情,默认也是5个,支持选择任意个数, 传入@indexes就可以选择想要的任意位置的表情了
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- BrnAppraiseEmojiListView
- Available Extensions
Constructors
-
BrnAppraiseEmojiListView({Key? key, List<
int> indexes = const [0, 1, 2, 3, 4], List<String> ? titles, BrnAppraiseIconClick? onTap}) - create BrnAppraiseEmojiListView
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indexes
→ List<
int> -
所需表情包的index列表,index最大值为4
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onTap → BrnAppraiseIconClick?
-
点击回调
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
titles
↔ List<
String> ? -
自定义文案,list长度为5,不足5个时请在对应位置补空字符串
getter/setter pair
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _BrnAppraiseEmojiListViewState -
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