Gemy-Dev / flutter_arc_text

Arc Text Widget for Flutter

Home Page:https://pub.dev/packages/flutter_arc_text/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Arc Text Widget for Flutter

https://pub.dev/packages/flutter_arc_text/

License:Other


Languages

Language:Dart 83.4%Language:HTML 7.8%Language:Swift 7.3%Language:Shell 0.9%Language:Kotlin 0.5%Language:Objective-C 0.2%