Renamed Positioned constructor. (#5927)

Renames stretch constructor to fill for better consistency with
the rest of the framework.
This commit is contained in:
Dragoș Tiselice
2016-09-19 10:46:06 -07:00
committed by GitHub
parent 921287b412
commit eafe1c7a4e
5 changed files with 5 additions and 5 deletions

View File

@@ -363,7 +363,7 @@ class CardCollectionState extends State<CardCollection> {
// size of the background,card Stack will be based only on the card. The
// Viewport ensures that when the card's resize animation occurs, the
// background (text and icons) will just be clipped, not resized.
Widget background = new Positioned.stretch(
Widget background = new Positioned.fill(
child: new Container(
margin: const EdgeInsets.all(4.0),
child: new Viewport(