flutter_furigana_text 0.0.4
flutter_furigana_text: ^0.0.4 copied to clipboard
A Flutter package for displaying Japanese text with furigana (ruby text) annotations. Perfect for Japanese learning apps, dictionaries, and reading practice.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_furigana_textThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_furigana_text: ^0.0.4Alternatively, 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:flutter_furigana_text/flutter_furigana_renderer.dart';
import 'package:flutter_furigana_text/models/furigana_word.dart';
import 'package:flutter_furigana_text/parser/furigana_html_parser.dart';
import 'package:flutter_furigana_text/parser/furigana_parser.dart';
import 'package:flutter_furigana_text/utils/text_utils.dart';
import 'package:flutter_furigana_text/widgets/furigana_rich_line.dart';
import 'package:flutter_furigana_text/widgets/furigana_text.dart';