UiComponentRasterizer class

Implemented types

Constructors

UiComponentRasterizer(ComponentHost _host, {double? pixelRatio, SpriteLookup? spriteLookup})

Properties

hashCode → int
The hash code for this object.
no setterinherited
pixelRatio → double
Tỉ lệ điểm ảnh rasterizer vẽ — engine bù bằng sm:isize khi nền tảng coi bytes của addImage là 1x (Android, web).
no setteroverride
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
pixelRatioFor(ImageRequest request) → double
render(ImageRequest request) → Future<RasterImage>
override
toString() → String
A string representation of this object.
inherited

Operators

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