Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Plugins | 16,786 | 1,556 | 615 | 4 months ago | 58 | June 06, 2022 | 1 | bsd-3-clause | Dart | |
Plugins for Flutter maintained by the Flutter team | ||||||||||
Flutter Desktop Embedding | 7,088 | 6 | a month ago | 10 | August 18, 2022 | 3 | apache-2.0 | C++ | ||
Experimental plugins for Flutter for Desktop | ||||||||||
Go Flutter | 5,632 | 22 | 29 | 9 days ago | 76 | July 24, 2022 | 60 | bsd-3-clause | Go | |
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW. | ||||||||||
Flutter Ui Nice | 3,424 | 23 days ago | 8 | Dart | ||||||
More than 130+ pages in this beautiful app and more than 45 developers has contributed to it. | ||||||||||
Figmatocode | 2,969 | a month ago | 24 | gpl-3.0 | TypeScript | |||||
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI. | ||||||||||
Sqflite | 2,629 | 799 | 139 | 22 days ago | 125 | September 19, 2022 | 154 | bsd-2-clause | Dart | |
SQLite flutter plugin | ||||||||||
Flutter_inappwebview | 2,552 | 1 | 46 | 8 days ago | 51 | May 05, 2022 | 722 | 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. | ||||||||||
Flutter Study | 2,254 | 3 years ago | 5 | |||||||
Flutter Study | ||||||||||
Flutter_local_notifications | 2,209 | 108 | 52 | 21 hours ago | 221 | September 23, 2022 | 31 | bsd-3-clause | Dart | |
A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux | ||||||||||
Flutter Intellij | 1,874 | a day ago | 522 | bsd-3-clause | Java | |||||
Flutter Plugin for IntelliJ |
Check out
A Flutter audio plugin (Swift/Java) to play remote or local audio files on iOS / Android / MacOS and Web.
To use this plugin :
dependencies:
flutter:
sdk: flutter
audioplayer: 0.8.1
audioplayer_web: 0.7.1
//...
AudioPlayer audioPlugin = AudioPlayer();
//...
audioPlayer.play(url);
audioPlayer.pause();
audioPlayer.stop();
The dart part of the plugin listen for platform calls :
//...
_positionSubscription = audioPlayer.onAudioPositionChanged.listen(
(p) => setState(() => position = p)
);
_audioPlayerStateSubscription = audioPlayer.onPlayerStateChanged.listen((s) {
if (s == AudioPlayerState.PLAYING) {
setState(() => duration = audioPlayer.duration);
} else if (s == AudioPlayerState.STOPPED) {
onComplete();
setState(() {
position = duration;
});
}
}, onError: (msg) {
setState(() {
playerState = PlayerState.stopped;
duration = new Duration(seconds: 0);
position = new Duration(seconds: 0);
});
});
Do not forget to cancel all the subscriptions when the widget is disposed.
By default iOS forbids loading from non-https url. To cancel this restriction edit your .plist and add :
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Add this to entitlements files ( cf. DebugProfile.entitlements )
<key>com.apple.security.network.client</key>
<true/>
flutter build apk
on Android, or flutter build ios
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.