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.
Implementation
// TODO(bkonyi): provide an example.
final Widget Function(Widget)? wrapper;