wrapper property

WidgetWrapper? wrapper
getter/setter pair

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

WidgetWrapper? wrapper;