mirror of
https://github.com/flutter/packages.git
synced 2025-07-02 08:34:31 +08:00
[rename fixit] Flex alignments
* justifyContent -> mainAxisAlignment * alignItems -> crossAxisAlignment * FlexJustifyContent -> MainAxisAlignment * FlexAlignItems -> CrossAxisAlignment Fixes #231
This commit is contained in:
@ -172,7 +172,7 @@ class _MarkdownBodyRawState extends State<MarkdownBodyRaw> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return new Column(
|
return new Column(
|
||||||
alignItems: FlexAlignItems.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: blocks
|
children: blocks
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -365,7 +365,7 @@ class _Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
contents = new Column(
|
contents = new Column(
|
||||||
alignItems: FlexAlignItems.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: subWidgets
|
children: subWidgets
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
@ -391,7 +391,7 @@ class _Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
contents = new Row(
|
contents = new Row(
|
||||||
alignItems: FlexAlignItems.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
new SizedBox(
|
new SizedBox(
|
||||||
width: listIndents.length * markdownStyle.listIndent,
|
width: listIndents.length * markdownStyle.listIndent,
|
||||||
|
Reference in New Issue
Block a user