toWidget method
Get a Flutter widget equivalent object.
Descendants must override it.
Implementation
@override
Widget toWidget() => InteractiveViewer(
boundaryMargin: boundaryMargin,
constrained: constrained,
maxScale: maxScale,
minScale: minScale,
panEnabled: panEnabled,
scaleEnabled: scaleEnabled,
child: child?.toWidget() ?? const SizedBox.shrink(),
);