Commit 8b4aed17 authored by Adam Barth's avatar Adam Barth Committed by GitHub

Fix copy/pasta ConstrainedBox docs (#7795)

Fixes #7788
parent 6dcd1271
......@@ -878,7 +878,7 @@ class SizedBox extends SingleChildRenderObjectWidget {
///
/// For example, if you wanted [child] to have a minimum height of 50.0 logical
/// pixels, you could use `const BoxConstraints(minHeight: 50.0)`` as the
/// [additionalConstraints].
/// [constraints].
class ConstrainedBox extends SingleChildRenderObjectWidget {
/// Creates a widget that imposes additional constraints on its child.
///
......
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