Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

An Arc Text Widget for Flutter

Flutter Arc Text

Renders text along the arc. See demo.

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
      );
}

Download Flutter Arc Text Widget source code on GitHub

https://github.com/ookami-kb/flutter_arc_text
Exit mobile version