Replace usage of FractionalOffset with Alignment (#12348)
Alignment will eventually replace FractionalOffset.
This commit is contained in:
@@ -44,7 +44,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
||||
return new Scaffold(
|
||||
body: new Stack(
|
||||
fit: StackFit.expand,
|
||||
alignment: FractionalOffset.bottomCenter,
|
||||
alignment: Alignment.bottomCenter,
|
||||
children: <Widget>[
|
||||
new LayoutBuilder(
|
||||
builder: (BuildContext context, BoxConstraints constraints) {
|
||||
|
||||
Reference in New Issue
Block a user