curved_render_text 0.0.2 copy "curved_render_text: ^0.0.2" to clipboard
curved_render_text: ^0.0.2 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 Dart:

 $ dart pub add curved_render_text

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 dart pub get):

dependencies:
  curved_render_text: ^0.0.2

Alternatively, your editor might support dart pub get or 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
0
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

License

unknown (license)

Dependencies

characters, flutter, vector_math

More

Packages that depend on curved_render_text