RenderRasterWidget constructor Null safety
- {required RasterWidgetDelegate delegate,
- required double devicePixelRatio,
- required RasterWidgetController controller,
- required RasterizeMode mode,
- RasterWidgetFallbackDelegate? fallback}
Create a new RenderRasterWidget.
Implementation
RenderRasterWidget({
required RasterWidgetDelegate delegate,
required double devicePixelRatio,
required RasterWidgetController controller,
required RasterizeMode mode,
RasterWidgetFallbackDelegate? fallback,
}) : _delegate = delegate,
_devicePixelRatio = devicePixelRatio,
_controller = controller,
_fallback = fallback,
_mode = mode;