curved_render_text 1.0.0 copy "curved_render_text: ^1.0.0" to clipboard
curved_render_text: ^1.0.0 copied to clipboard

The text is bent according to the curvature, which is realized by custom rendering parts, and the actual width and height of the parts can be returned after bending.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add curved_render_text

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  curved_render_text: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:curved_render_text/curved_render_text.dart';
4
likes
155
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

The text is bent according to the curvature, which is realized by custom rendering parts, and the actual width and height of the parts can be returned after bending.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

characters, flutter, vector_math

More

Packages that depend on curved_render_text