NumberInfoItemModel class
用来显示强化数据的model
Constructors
- NumberInfoItemModel({String? number, String? title, BrnNumberInfoIcon numberInfoIcon = BrnNumberInfoIcon.question, dynamic iconTapCallBack(NumberInfoItemModel)?, String? preDesc, String? lastDesc, Widget? bottomWidget, Widget? topWidget})
- 上部分的:(number、preDesc、lastDesc)和topWidget 必须设置一个 下部分的:title和title 必须设置一个
Properties
- bottomWidget → Widget?
-
下半部分的自定义内容 如果设置了优先级则高于 title
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconTapCallBack → dynamic Function(NumberInfoItemModel)?
-
icon的事件
final
- lastDesc → String?
-
强化信息的后面展示字段
final
- number → String?
-
number必须是非中文,否则会展示异常,如果有中文信息 则设置pre和last字段
final
- numberInfoIcon → BrnNumberInfoIcon
-
icon的样式 可枚举 , 默认为问号
final
- preDesc → String?
-
强化信息的前面展示字段
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
下半部分的辅助信息
final
- topWidget → Widget?
-
上半部分的自定义内容 如果设置了优先级则高于 number、preDesc和lastDesc
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