UserProfileController class

个人主页 NativeView 控制器

对应穿山甲内容 SDK 的 DPWidgetUserProfileParam 组件。 用于控制刷新、返回键校验等行为。

Constructors

UserProfileController()

Properties

hashCode int
The hash code for this object.
no setterinherited
isReady bool
是否已经绑定原生实例
no setter
profileId String?
当前绑定的个人主页 ID
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

backRefresh() Future<void>
返回场景时的挽留刷新
canBackPress() Future<bool>
校验返回键是否可以直接关闭页面
dispose() Future<void>
销毁个人主页实例
initialize(String profileId) → void
由 Widget 内部调用,初始化 profileId
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh() Future<void>
刷新页面
toString() String
A string representation of this object.
inherited

Operators

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