Nothing is working to get multiline text to be wrapped with Right aligment
even without using SingleChildScrollView
@override Widget build(BuildContext context) {
var tt = "ومن رأى: أن إبرته التي يخيط بها انكسرت أو انتزعت منه، فإن شأنه يتفرق ويفسد أمره، وتدل الإبرة أيضاً على المرأة لإدخال الخيط فيها، وكذلك المسلة، فمن رأى أن بيده مسلة وكانت إمرأته حبلى ولدت له إبنة، وإن لم يكن هناك حمل دل ذلك على سفره.";
return new Scaffold( appBar: new AppBar( title: new Text(gettitle()) , ), body: new Directionality(textDirection: TextDirection.rtl, child: new Padding( padding: const EdgeInsets.all(16.0), child: new SingleChildScrollView( child: new Text( tt, textAlign: TextAlign.right, textDirection: TextDirection.rtl, ) ,) ), ) ); }
Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.3.2, on Mac OS X 10.13.4 17E202, locale en-JO)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.0)
[✓] Connected devices (1 available)
• No issues found!
Process finished with exit code 0
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.