Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Plugins | 16,786 | 8 | 2,204 | 7 months ago | 16 | July 20, 2023 | 1 | bsd-3-clause | Dart | |
Plugins for Flutter maintained by the Flutter team | ||||||||||
Flutter Desktop Embedding | 7,088 | 8 | 5 months ago | 22 | July 13, 2023 | 3 | apache-2.0 | C++ | ||
Experimental plugins for Flutter for Desktop | ||||||||||
Go Flutter | 5,676 | 22 | 30 | 23 days ago | 76 | July 24, 2022 | 63 | bsd-3-clause | Go | |
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW. | ||||||||||
Flutter Ui Nice | 3,534 | 4 months ago | 8 | Dart | ||||||
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it. | ||||||||||
Figmatocode | 3,185 | 13 days ago | 21 | gpl-3.0 | TypeScript | |||||
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI. | ||||||||||
Flutter_inappwebview | 2,700 | 1 | 128 | 2 days ago | 100 | June 12, 2023 | 821 | apache-2.0 | Dart | |
A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window. | ||||||||||
Sqflite | 2,695 | 799 | 204 | 5 days ago | 160 | July 26, 2023 | 168 | bsd-2-clause | Dart | |
SQLite flutter plugin | ||||||||||
Flutter_local_notifications | 2,262 | 108 | 101 | 11 days ago | 251 | August 24, 2023 | 40 | bsd-3-clause | Dart | |
A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux | ||||||||||
Flutter Study | 2,254 | 3 years ago | 5 | |||||||
Flutter Study | ||||||||||
Flutter Intellij | 1,894 | 5 hours ago | 557 | bsd-3-clause | Java | |||||
Flutter Plugin for IntelliJ |
Updated to androidx First Open Source Flutter based material design music player with audio plugin to play local music files.(Online Radio will be added soon.)
[x] Android (iOS Coming Soon)
Supported formats
Flutter Beautiful Music Player
To use this plugin :
dependencies:
flutter:
sdk: flutter
flute_music_player:
//...
MusicFinder audioPlayer = new MusicFinder();
//...
//...
var songs = MusicFinder.allSongs();
//...
play() async {
final result = await audioPlayer.play(kUrl);
if (result == 1) setState(() => playerState = PlayerState.playing);
}
// add a isLocal parameter to play a local file
playLocal() async {
final result = await audioPlayer.play(kUrl);
if (result == 1) setState(() => playerState = PlayerState.playing);
}
pause() async {
final result = await audioPlayer.pause();
if (result == 1) setState(() => playerState = PlayerState.paused);
}
stop() async {
final result = await audioPlayer.stop();
if (result == 1) setState(() => playerState = PlayerState.stopped);
}
// seek 5 seconds from the beginning
audioPlayer.seek(5.0);
The Dart part of the plugin listen for platform calls :
//...
audioPlayer.setDurationHandler((Duration d) => setState(() {
duration = d;
}));
audioPlayer.setPositionHandler((Duration p) => setState(() {
position = p;
}));
audioPlayer.setCompletionHandler(() {
onComplete();
setState(() {
position = duration;
});
});
audioPlayer.setErrorHandler((msg) {
print('audioPlayer error : $msg');
setState(() {
playerState = PlayerState.stopped;
duration = new Duration(seconds: 0);
position = new Duration(seconds: 0);
});
});
##Credit for audioplayer plugin Erick Ghaumez Detailed Example for AudioPlayer
This project is not implemented for ios yet.So wait for it or if you can contribute then please do help.
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
Reformat Code
feature of Android Studio CMD
+Option
+L
on Mac and CTRL
+ ALT
+ L
on Linux + Windows .develop
branch. Any other branch (unless specified by the maintainers) will get rejected.Pawan Kumar (@imthepk) (Youtube) (Insta)
If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕️
Copyright 2018 Pawan Kumar
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.