WindowParams class

Constructors

WindowParams({double containerSizeRatio = 9 / 16, bool chessboard = true, Map<String, String>? collectorStyles, WindowPrefersColorScheme? prefersColorScheme, String? overwriteStyles = "", bool debug = false})

Properties

chessboard bool
多窗口区域(主窗口)以外的空间显示 PS 棋盘背景,默认 true
getter/setter pair
collectorStyles Map<String, String>?
驼峰形式的 CSS,透传给多窗口时,最小化 div 的 css
getter/setter pair
containerSizeRatio double
各个端本地显示多窗口内容时,高与宽比例,默认为 9:16
getter/setter pair
debug bool
是否在网页控制台打印日志
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
overwriteStyles String?
窗口样式覆盖
getter/setter pair
prefersColorScheme WindowPrefersColorScheme?
窗口配色模式
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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