1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| body: Center( child: SizedBox( height: 60, width: 200, child: Container( alignment: Alignment(0,0), color: Colors.yellow, child: Text( "Text Demo Page Text Demo Page Text Demo Page Text Demo Page Text Demo Page Text Demo Page Text Demo Page", maxLines: 2, overflow: TextOverflow.ellipsis, softWrap: true, textAlign: TextAlign.center, textDirection: TextDirection.rtl, textScaleFactor: 1.0, style: TextStyle( color: Colors.deepPurple, fontSize: 20, decoration: TextDecoration.underline, decorationColor: Colors.black, decorationStyle: TextDecorationStyle.wavy, backgroundColor: Colors.pink, fontWeight: FontWeight.bold, fontStyle: FontStyle.italic, letterSpacing: 2.0, wordSpacing: 4.0 height: 2.0
), ), ), ), ),
|