mmoo_lyric 1.0.0 copy "mmoo_lyric: ^1.0.0" to clipboard
mmoo_lyric: ^1.0.0 copied to clipboard

一个flutter用于显示歌词的小部件,支持翻译/音译歌词,可自定义整体/当前/翻译歌词的字体样式,处理了换行逻辑;

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mmoo_lyric

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mmoo_lyric: ^1.0.0

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:mmoo_lyric/lyric.dart';
import 'package:mmoo_lyric/lyric_controller.dart';
import 'package:mmoo_lyric/lyric_painter.dart';
import 'package:mmoo_lyric/lyric_util.dart';
import 'package:mmoo_lyric/lyric_widget.dart';
3
likes
85
pub points
3%
popularity

Publisher

unverified uploader

一个flutter用于显示歌词的小部件,支持翻译/音译歌词,可自定义整体/当前/翻译歌词的字体样式,处理了换行逻辑;

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on mmoo_lyric