LuckyPx class final

不随基准变化的逻辑像素长度。

Inheritance

Constructors

LuckyPx(double value)
以逻辑像素 value 创建长度。
const

Properties

hashCode → int
与像素长度值相等性一致的哈希值。
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → double
逻辑像素值。
final

Methods

copyWith({double? value}) → LuckyPx
返回替换 value 的长度;未提供时保留原值。
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(double base) → double
返回像素值,忽略 base。
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
比较像素长度值。
override