Commit b5893f9e authored by Adam Barth's avatar Adam Barth

Fix typos in fn3

parent 52ce67b9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment