Rename Container.align to alignment (#6116)
To match the Align widget (and several other widgets). Fixes #6101
This commit is contained in:
@@ -166,7 +166,7 @@ class FullScreenDialogDemoState extends State<FullScreenDialogDemo> {
|
||||
decoration: new BoxDecoration(
|
||||
border: new Border(bottom: new BorderSide(color: theme.dividerColor))
|
||||
),
|
||||
align: FractionalOffset.bottomLeft,
|
||||
alignment: FractionalOffset.bottomLeft,
|
||||
child: new Text('Event name', style: theme.textTheme.display2)
|
||||
),
|
||||
new Container(
|
||||
@@ -174,7 +174,7 @@ class FullScreenDialogDemoState extends State<FullScreenDialogDemo> {
|
||||
decoration: new BoxDecoration(
|
||||
border: new Border(bottom: new BorderSide(color: theme.dividerColor))
|
||||
),
|
||||
align: FractionalOffset.bottomLeft,
|
||||
alignment: FractionalOffset.bottomLeft,
|
||||
child: new Text('Location', style: theme.textTheme.title.copyWith(color: Colors.black54))
|
||||
),
|
||||
new Column(
|
||||
|
||||
@@ -121,7 +121,7 @@ class TextFieldDemoState extends State<TextFieldDemo> {
|
||||
),
|
||||
new Container(
|
||||
padding: const EdgeInsets.all(20.0),
|
||||
align: const FractionalOffset(0.5, 0.5),
|
||||
alignment: const FractionalOffset(0.5, 0.5),
|
||||
child: new RaisedButton(
|
||||
child: new Text('SUBMIT'),
|
||||
onPressed: _handleSubmitted,
|
||||
|
||||
@@ -130,7 +130,7 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
|
||||
new Container(
|
||||
height: 48.0,
|
||||
padding: const EdgeInsets.only(left: 16.0),
|
||||
align: FractionalOffset.centerLeft,
|
||||
alignment: FractionalOffset.centerLeft,
|
||||
child: new Text(galleryItem.category, style: headerStyle)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user