Unverified Commit b76253b6 authored by Justin McCandless's avatar Justin McCandless Committed by GitHub

minScale docs reference the need for a larger boundaryMargin when scaling below 1.0 (#68494)

parent a6768639
......@@ -227,6 +227,11 @@ class InteractiveViewer extends StatefulWidget {
///
/// The scale will be clamped between this and [maxScale] inclusively.
///
/// Scale is also affected by [boundaryMargin]. If the scale would result in
/// viewing beyond the boundary, then it will not be allowed. By default,
/// boundaryMargin is EdgeInsets.zero, so scaling below 1.0 will not be
/// allowed in most cases without first increasing the boundaryMargin.
///
/// Defaults to 0.8.
///
/// Cannot be null, and must be a finite number greater than zero and less
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment