A widget that enables pan and zoom interactions with its child.
Example
InteractiveViewer(
boundaryMargin: const EdgeInsets.all(20.0),
child: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: <Color>[Colors.blue, Colors.yellow],
stops: <double>[0.0, 1.0],
),
),
),
);