StringWidget constructor
StringWidget(})
rotateAngle
- 居中旋转
Implementation
StringWidget(this.text,
{this.verticalAlign = VerticalAlign.center,
this.horizontalTextAlign = TextAlign.center,
this.fontSize = 12,
this.rotateAngle = 0.0,
Color color = Colors.black,
double width = 50,
double height = 50})
: super(color: color, width: width, height: height);