flutter_arc_text 0.1.2 copy "flutter_arc_text: ^0.1.2" to clipboard
flutter_arc_text: ^0.1.2 copied to clipboard

outdated

Flutter widget that renders text along the arc with configurable radius.

example/lib/main.dart

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_arc_text/flutter_arc_text.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: Scaffold(
          body: Center(
            child: Container(
              decoration: BoxDecoration(
                border: Border.all(),
                color: Colors.white,
              ),
              width: 300,
              height: 300,
              child: ArcText(
                radius: 100,
                text: 'Hello, Flutter! '
                    'I am ArcText widget. I can draw circular text.',
                textStyle: TextStyle(fontSize: 18, color: Colors.black),
                startAngle: -pi / 2,
              ),
            ),
          ),
        ),
      );
}
41
likes
0
pub points
89%
popularity

Publisher

verified publisherookamikb.dev

Flutter widget that renders text along the arc with configurable radius.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_arc_text