flutter_music_player 0.0.1 flutter_music_player: ^0.0.1 copied to clipboard
A Flutter package to create a customizable music player application or module with ease
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_music_player
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_music_player: ^0.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_music_player/model/customizer/default_player_customizer.dart';
import 'package:flutter_music_player/model/customizer/named_player_customizer.dart';
import 'package:flutter_music_player/model/customizer/player_customizer.dart';
import 'package:flutter_music_player/model/player/audio_track.dart';
import 'package:flutter_music_player/pages/maximized_music_player.dart';
import 'package:flutter_music_player/providers/audio_player_provider.dart';
import 'package:flutter_music_player/widgets/buttons/maximized_next_button.dart';
import 'package:flutter_music_player/widgets/buttons/maximized_play_button.dart';
import 'package:flutter_music_player/widgets/buttons/maximized_previous_button.dart';
import 'package:flutter_music_player/widgets/buttons/minimized_player_play_pause_button.dart';
import 'package:flutter_music_player/widgets/buttons/queue_button.dart';
import 'package:flutter_music_player/widgets/buttons/repeat_button.dart';
import 'package:flutter_music_player/widgets/buttons/shuffle_button.dart';
import 'package:flutter_music_player/widgets/maximized_album_cover.dart';
import 'package:flutter_music_player/widgets/maximized_music_player_app_bar.dart';
import 'package:flutter_music_player/widgets/minimized_music_player.dart';
import 'package:flutter_music_player/widgets/player_slider.dart';
import 'package:flutter_music_player/widgets/reorderable_song_queue.dart';
import 'package:flutter_music_player/widgets/single_line_drag_handle.dart';
import 'package:flutter_music_player/widgets/song_queue_item.dart';