Replace usage of FractionalOffset with Alignment (#12348)
Alignment will eventually replace FractionalOffset.
This commit is contained in:
@@ -138,7 +138,7 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
|
||||
child: new Container(
|
||||
height: 48.0,
|
||||
padding: const EdgeInsets.only(left: 16.0),
|
||||
alignment: FractionalOffset.centerLeft,
|
||||
alignment: Alignment.centerLeft,
|
||||
child: new Text(galleryItem.category, style: headerStyle)
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user