RichText widgets require a Directionality widget ancestor. code example Example: No Directionality widget found. new Text("Hello", textDirection: TextDirection.ltr)