UserProfileConfig class

个人主页配置,对应 DPWidgetUserProfileParam

Constructors

UserProfileConfig({UserProfilePageType? pageType, bool? hideCloseIcon, int? width, int? height, String? scene, Map<String, dynamic>? extra})
const
UserProfileConfig.fromMap(Map<String, dynamic> map)
factory

Properties

extra Map<String, dynamic>?
扩展参数(原样透传)
final
hashCode int
The hash code for this object.
no setterinherited
height int?
组件高度(dp,Android),未设置默认 match_parent
final
hideCloseIcon bool?
是否隐藏关闭按钮
final
pageType UserProfilePageType?
页面类型
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene String?
业务场景
final
width int?
组件宽度(dp,Android),未设置默认 match_parent
final

Methods

copyWith({UserProfilePageType? pageType, bool? hideCloseIcon, int? width, int? height, String? scene, Map<String, dynamic>? extra}) UserProfileConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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