RasterWidget constructor Null safety
- {Key? key,
- RasterWidgetDelegate delegate = const _RasterDefaultDelegate(),
- RasterWidgetFallbackDelegate? fallback,
- RasterizeMode mode = RasterizeMode.enabled,
- required RasterWidgetController controller,
- required Widget? child}
Create a new RasterWidget.
The controller and child arguments are required.
Implementation
const RasterWidget({
super.key,
this.delegate = const _RasterDefaultDelegate(),
this.fallback,
this.mode = RasterizeMode.enabled,
required this.controller,
required super.child
});