GridVideoConfig class

宫格/双Feed 小视频配置(对标 DPWidgetGridParams)

Constructors

GridVideoConfig({GridVideoCardStyle? cardStyle, String? scene, bool? enableRefresh, double? reportTopPadding, Map<String, dynamic>? extra})
const
GridVideoConfig.fromMap(Map<String, dynamic> map)
从 Map 恢复配置
factory

Properties

cardStyle → GridVideoCardStyle?
卡片样式
final
enableRefresh → bool?
是否支持下拉刷新
final
extra → Map<String, dynamic>?
自定义扩展参数,直接透传到原生端
final
hashCode → int
The hash code for this object.
no setterinherited
reportTopPadding → double?
举报页面顶部 padding(单位 dp)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scene → String?
场景标识(内容定制业务必传)
final

Methods

copyWith({GridVideoCardStyle? cardStyle, String? scene, bool? enableRefresh, double? reportTopPadding, Map<String, dynamic>? extra}) → GridVideoConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
转换为 Map,仅包含非空字段
toString() → String
A string representation of this object.
override

Operators

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