flutter_lyric 2.0.1+5 flutter_lyric: ^2.0.1+5 copied to clipboard
This plugin is a music lyric reader,support translation lyrics,smooth animation,custom UI,Parse.;
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+5
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';