flutter_arc_text 0.3.2 flutter_arc_text: ^0.3.2 copied to clipboard
Flutter widget that renders text along the arc with configurable radius.
Flutter Arc Text #
Renders text along the arc. See demo.
The story behind the plugin is here.
Basic usage #
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 #
See example project.