wrapper property
final
Wraps the previewed Widget in a Widget tree.
This function can be used to perform dependency injection or setup additional scaffolding needed to correctly render the preview.
Note: this must be a reference to a static, public function defined as either a top-level function or static member in a class.
Implementation
// TODO(bkonyi): provide an example.
final WidgetWrapper? wrapper;