flutter_lyric 2.0.1 copy "flutter_lyric: ^2.0.1" to clipboard
flutter_lyric: ^2.0.1 copied to clipboard

outdated

一个flutter用于显示歌词的小部件,支持翻译/音译歌词,可自定义样式;

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_lyric

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

dependencies:
  flutter_lyric: ^2.0.1

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:flutter_lyric/lyric_helper.dart';
import 'package:flutter_lyric/lyric_parser/lyrics_parse.dart';
import 'package:flutter_lyric/lyric_parser/parser_lrc.dart';
import 'package:flutter_lyric/lyric_parser/parser_qrc.dart';
import 'package:flutter_lyric/lyric_parser/parser_smart.dart';
import 'package:flutter_lyric/lyric_ui/lyric_ui.dart';
import 'package:flutter_lyric/lyric_ui/ui_netease.dart';
import 'package:flutter_lyric/lyrics_log.dart';
import 'package:flutter_lyric/lyrics_model_builder.dart';
import 'package:flutter_lyric/lyrics_reader.dart';
import 'package:flutter_lyric/lyrics_reader_model.dart';
import 'package:flutter_lyric/lyrics_reader_paint.dart';
import 'package:flutter_lyric/lyrics_reader_web.dart';
import 'package:flutter_lyric/lyrics_reader_widget.dart';
88
likes
0
pub points
91%
popularity

Publisher

unverified uploader

一个flutter用于显示歌词的小部件,支持翻译/音译歌词,可自定义样式;

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, flutter_web_plugins

More

Packages that depend on flutter_lyric