BrnShareItem class

分享元素

Constructors

BrnShareItem(int shareType, {String? customTitle, Widget? customImage, bool canClick = true})

Properties

canClick bool
是否可点击(如果为预设类型,设置为不可点击后会变为相应的置灰图标)默认为true
getter/setter pair
customImage Widget?
自定义图标
getter/setter pair
customTitle String?
自定义标题
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shareType int
分享类型(参考BrnShareItemConstants中的枚举,如果此项不为自定义,则自定义名称和图标不生效)
getter/setter pair

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