mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Fix typos in fn3
This commit is contained in:
parent
52ce67b977
commit
b5893f9e13
@ -12,6 +12,7 @@ class StyledTextApp extends StatefulComponent {
|
||||
|
||||
class StyledTextAppState extends State<StyledTextApp> {
|
||||
void initState(BuildContext context) {
|
||||
super.initState(context);
|
||||
toText = toStyledText;
|
||||
nameLines = dialogText
|
||||
.split('\n')
|
||||
|
@ -530,7 +530,7 @@ class Flex extends MultiChildRenderObjectWidget {
|
||||
final FlexAlignItems alignItems;
|
||||
final TextBaseline textBaseline;
|
||||
|
||||
RenderFlex createRenderObject() => new RenderFlex(direction: direction);
|
||||
RenderFlex createRenderObject() => new RenderFlex(direction: direction, justifyContent: justifyContent, alignItems: alignItems, textBaseline: textBaseline);
|
||||
|
||||
void updateRenderObject(RenderFlex renderObject, Flex oldWidget) {
|
||||
renderObject.direction = direction;
|
||||
|
Loading…
Reference in New Issue
Block a user