mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 15:23:25 +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(
|
||||
alignItems: FlexAlignItems.stretch,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: blocks
|
||||
);
|
||||
}
|
||||
@ -365,7 +365,7 @@ class _Block {
|
||||
}
|
||||
|
||||
contents = new Column(
|
||||
alignItems: FlexAlignItems.stretch,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: subWidgets
|
||||
);
|
||||
} else {
|
||||
@ -391,7 +391,7 @@ class _Block {
|
||||
}
|
||||
|
||||
contents = new Row(
|
||||
alignItems: FlexAlignItems.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: <Widget>[
|
||||
new SizedBox(
|
||||
width: listIndents.length * markdownStyle.listIndent,
|
||||
|
Reference in New Issue
Block a user