PangleExpressSize class
expect size
Constructors
- PangleExpressSize({required double width, required double height})
- 模板渲染时必填
- PangleExpressSize.aspectRatio(double aspectRatio)
- 模板渲染时必填
- PangleExpressSize.aspectRatio16_9()
- PangleExpressSize.aspectRatio9_16()
- PangleExpressSize.heightPercent(double heightPercent, {required double aspectRatio})
- PangleExpressSize.percent(double widthPercent, double heightPercent)
- PangleExpressSize.widthPercent(double widthPercent, {required double aspectRatio})
- PangleExpressSize.wrap({required double width})
Properties
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