ruby_text 3.0.3 ruby_text: ^3.0.3 copied to clipboard
A RubyText widget, you can easily use this library to achieve the furigana effect.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ruby_text
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ruby_text: ^3.0.3
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:ruby_text/ruby_text.dart';