The Text ( 'Content' , textAlign: TextAlign.center, maxLines: . 1 , overflow: TextOverFlow.ellipsis, textScaleFactor: for 1.5, // the system to change the font size, character change too style: the TextStyle ( the fontSize: 25.0, // font size fontFamily : 'Courier', // font style height: for 1.5 // line high background: new new Point () .. color = Colors.yellow, // background color color: Color.FromArgb (255,255,150,150), // font color decoration: TextDecoration .underline, // underline decorationStyle: TextDecorationStyle.solid, // style line decorationColor: Color.FromArgb (255,255,150,150) // line color ) )
text align: TextAlign.center, TextAlign.left, TextAlign.right, TextAlign.start, TextAlign.end;
overflow: TextOverFlow.clip (excess is cut off), TextOverFlow.ellipsis (behind display ellipsis), TextOverFlow.fade (overflow section gradual disappearance)
decoration: TextDecoration.underline, TextDecoration.overline, TextDecoration.lineThrough, none
decoratio style: TextDecorationStyle.dashed, TextDecorationStyle.dotted, TextDecorationStyle.double, TextDecorationStyle.solid, TextDecorationStyle.wavy