Flutter 弧形文本
沿着弧形渲染文本。

基本用法
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) => ArcText(
radius: 100,
text: 'Hello, Flutter!',
textStyle: TextStyle(fontSize: 18, color: Colors.black),
startAngle: -pi / 2,
startAngleAlignment: StartAngleAlignment.start,
placement: Placement.outside,
direction: Direction.clockwise
);
}
示例
查看 example 项目。