No Directionality widget found.错误记录。

import 'package:flutter/material.dart';
void main() => runApp(new Center(child: new Text('Hello, world!',textDirection: TextDirection.ltr)));
import 'package:flutter/material.dart';
void main() => runApp(new Center(child: new Text('Hello, world!')));

 

posted @ 2019-04-25 17:01  飞雪飘鸿  阅读(1628)  评论(0编辑  收藏  举报
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL