ruby_text_touch 0.0.3 ruby_text_touch: ^0.0.3 copied to clipboard
A RubyText widget with touch callback, 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_touch
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ruby_text_touch: ^0.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_touch/ruby_text_touch.dart';