Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae49356

Browse files
authored
Improve Center docs a tiny bit. (flutter#6636)
1 parent fa2caa7 commit ae49356

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/flutter/lib/src/widgets/basic.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@ class Align extends SingleChildRenderObjectWidget {
659659
///
660660
/// See also:
661661
///
662-
/// * [Align]
662+
/// * [Align], which lets you arbitrarily position a child within itself,
663+
/// rather than just centering it.
663664
class Center extends Align {
664665
/// Creates a widget that centers its child.
665666
Center({ Key key, double widthFactor, double heightFactor, Widget child })

0 commit comments

Comments
 (0)