LayoutComponentConfig class

Inheritance

Constructors

LayoutComponentConfig({bool useCustomLayout = false, Map<CustomLayoutType, CustomLayoutBuilderItem>? customLayoutBuilders, bool videoOnly = false, bool clickHideCustomLayout = false})

Properties

clickHideCustomLayout bool
是否点击隐藏自定义布局
getter/setter pair
customLayoutBuilders Map<CustomLayoutType, CustomLayoutBuilderItem>?
自定义布局组件构造器map
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
useCustomLayout bool
是否使用自定义布局,使用自定义布局将不显示默认布局,如header、footer、memberList、rightPanel等
getter/setter pair
videoOnly bool
仅展示视频
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) LayoutComponentConfig
override