Rename Container.align to alignment (#6116)
To match the Align widget (and several other widgets). Fixes #6101
This commit is contained in:
@@ -284,7 +284,7 @@ class CardCollectionState extends State<CardCollection> {
|
||||
flexibleSpace: new Container(
|
||||
padding: const EdgeInsets.only(left: 72.0),
|
||||
height: 128.0,
|
||||
align: const FractionalOffset(0.0, 0.75),
|
||||
alignment: const FractionalOffset(0.0, 0.75),
|
||||
child: new Text('Swipe Away: ${_cardModels.length}', style: Theme.of(context).primaryTextTheme.title)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user