curved_render_text 0.0.1
curved_render_text: ^0.0.1 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_textWith Flutter:
$ flutter pub add curved_render_textThis 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.1Alternatively, 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';