RasterizeMode enum Null safety
Controls how the RasterWidget paints its children via the RasterWidgetController.
Constructors
- RasterizeMode()
-
const
Values
- enabled → const RasterizeMode
-
the children are rasterized, but only if all descendants can be rasterized.
This setting is the default state of the RasterWidgetController.
If there is a platform view in the children of a raster widget and a RasterWidgetFallbackDelegateh as been provided to the raster_widget, this fallback delegate will be used to render the children instead of the image. If there is no fallback delegate, an excpetion will be thrown
RasterizeMode()
- forced → const RasterizeMode
-
The children are rasterized and any child platform views are ignored.
In this state a RasterWidgetFallbackDelegate is never used. Generally this can be useful if there is a platform view descendant that does not need to be included in the raster.
RasterizeMode()
- fallback → const RasterizeMode
-
the children are not rasterized and the RasterWidgetFallbackDelegate, if provided, is used to draw the children.
RasterizeMode()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RasterizeMode> -
A constant List of the values in this enum, in order of their declaration.
[enabled, forced, fallback]