Plugins for Flutter maintained by the Flutter team

Overview

Flutter plugins

Build Status Release Status

This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages directory for all plugins.

Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.

These plugins are also available on pub.

Issues

Please file any issues, bugs, or feature requests in the main flutter repo.

Issues pertaining to this repository are labeled "plugin".

Contributing

If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.

If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.

Plugins

These are the available plugins in this repository.

Plugin Pub Points Popularity Likes
camera pub package pub points popularity likes
espresso pub package pub points popularity likes
file_selector pub package pub points popularity likes
flutter_plugin_android_lifecycle pub package pub points popularity likes
google_maps_flutter pub package pub points popularity likes
google_sign_in pub package pub points popularity likes
image_picker pub package pub points popularity likes
in_app_purchase pub package pub points popularity likes
ios_platform_images pub package pub points popularity likes
local_auth pub package pub points popularity likes
path_provider pub package pub points popularity likes
plugin_platform_interface pub package pub points popularity likes
quick_actions pub package pub points popularity likes
shared_preferences pub package pub points popularity likes
url_launcher pub package pub points popularity likes
video_player pub package pub points popularity likes
webview_flutter pub package pub points popularity likes

Deprecated

The following plugins are also part of this repository, but are deprecated in favor of the Flutter Community Plus versions.

Plugin Pub Replacement Pub
android_alarm_manager pub package android_alarm_manager_plus pub package
android_intent pub package android_intent_plus pub package
battery pub package battery_plus pub package
connectivity pub package connectivity_plus pub package
device_info pub package device_info_plus pub package
package_info pub package package_info_plus pub package
sensors pub package sensors_plus pub package
share pub package share_plus pub package
wifi_info_flutter pub package network_info_plus pub package
You might also like...

Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Email and Password Authentication In Flutter & Firebase in Flutter 2.2

Nov 23, 2022

Learn Flutter on Flutter! A widget directory with implementation samples!

Learn Flutter on Flutter! A widget directory with implementation samples!

Fludget Browse through a variety of widgets used in flutter This application is developed to learn Flutter using Flutter. Different widgets used in fl

Nov 23, 2022

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.

bitsdojo_window A Flutter package that makes it easy to customize and work with your Flutter desktop app window on Windows, macOS and Linux. Watch the

Dec 27, 2022

DoneIt is a sample note app 📝 Flutter application 📱 built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Developers with ❤️.

DoneIt is a sample note app 📝 Flutter application 📱 built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Developers with ❤️.

DoneIt 📝 DoneIt is a sample note app 📝 Flutter application 📱 built to demonstrate use of Clean Architecture tools. Dedicated to all Flutter Develop

Dec 24, 2022

Utility Manager Flutter Application is made with Flutter and Supabase which allows user to add task, set remainder to the task, set color to separate tasks and it allows to add URL with URL's informations.

Utility Manager Flutter Application is made with Flutter and Supabase which allows user to add task, set remainder to the task, set color to separate tasks and it allows to add URL with URL's informations.

Utility Manager Flutter Application! Utility Manager Flutter Application is made with Flutter and Supabase which allows user to add task, set remainde

Jan 6, 2022

My first Flutter project - a recipes app, from the book Flutter Apprentice.

recipes My first Flutter project - a recipes app, from the book Flutter Apprentice. Getting Started This project is a starting point for a Flutter app

Dec 28, 2021

Projeto Flutter sendo desenvolvido para a Formação Flutter da plataforma Alura

Projeto Flutter sendo desenvolvido para a Formação Flutter da plataforma Alura

ByteBank / A Flutter Journey Table of Contents About • Features • 📌 About This is a project being developed for a Flutter couse in Alura plataform, s

Oct 25, 2021

QR.Flutter is a Flutter library for simple and fast QR code rendering via a Widget or custom painter.

QR.Flutter is a Flutter library for simple and fast QR code rendering via a Widget or custom painter.

QR.Flutter is a Flutter library for simple and fast QR code rendering via a Widget or custom painter. Need help? Please do not submit an issue for a "

Jan 4, 2023

Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.

Stream Feed official Flutter SDK. Build your own feed experience using Dart and Flutter.

Official Flutter packages for Stream Activity Feeds The official Dart client for Stream Activity Feeds, a service for building activity feed applicati

Sep 26, 2022
Comments
  • [webview_flutter] Add file chooser on Android

    [webview_flutter] Add file chooser on Android

    Description

    Currently on Android nothing happens for <input type="file">. This PR solves that, allowing the user to choose a file and optionally use the camera.

    Screenshot 2020-11-17 at 11 58 56

    Related Issues

    flutter/flutter#27924

    Checklist

    Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

    • [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • [ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
    • [x] All existing and new tests are passing.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] The analyzer (flutter analyze) does not report any problems on my PR.
    • [x] I read and followed the Flutter Style Guide.
    • [x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
    • [ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
    • [x] I updated CHANGELOG.md to add a description of the change.
    • [x] I signed the CLA.
    • [x] I am willing to follow-up on review comments in a timely manner.

    Breaking Change

    Does your PR require plugin users to manually update their apps to accommodate your change?

    • [ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
    • [x] No, this is not a breaking change.
    cla: yes p: webview_flutter platform-android needs tests 
    opened by fesp 84
  • [camera] Fix all capture timeout, autofocus, flash, exposure, and device crash issues

    [camera] Fix all capture timeout, autofocus, flash, exposure, and device crash issues

    This PR is a full rework of the android plugin. There were a number of issues before, including crashes on some legacy devices and some features just didn't work. I found that the camera API wasn't quite implemented correctly, and it wasn't transitioning between the states / modes as it should have. This led to instabilities on some devices.

    I've tested this PR on the following devices and every feature in the plugin now works as expected:

    • Pixel 4
    • LG k50s
    • Samsung Galaxy S7
    • Sony XZ (F8331)

    Summary of major changes / improvements:

    • Added comments throughout the plugin detailing what each part is doing.
    • Fixed capture timeout on devices, related to auto exposure / focus.
    • Added correct handling for starting/stopping auto exposure, to not crash on cameras with unsupported modes.
    • Added correct handling to stop/start autofocus when switching between focus lock and autofocus. Tapping the lock button now triggers a one-time autofocus of the current point/scene, and then locks it until later unlocked.
    • Added support for NV21 image streams in Android for more efficient use with Firebase ML Vision- no need to concatenate the YUV420 planes anymore, just feed the one plane from NV21 directly to ML Vision.
    • Fixed flickering issue on Sony front facing cameras when capturing photos and changing AE mode.
    • Moved capture callbacks / image processing to run on a background handler/thread.
    • Instead of managing the camera state in PictureCaptureRequest, we now have a new CameraState as well as the PictureCaptureRequestState. The PictureCaptureRequestState handles timing out captures while the CameraState tracks the state of the camera as it's processing the current request. This made it easier to keep track of how the camera is moving between states during capture.

    Testing this PR

    In order to use this PR before the update to camera and camera_platform_interface are published, you need to include the following in your pubspec.yaml:

      camera:
        git:
          url: https://github.com/bottlepay/plugins.git
          path: packages/camera/camera
          ref: android-rework
    

    Future improvements

    There is still a delay when capturing images on some devices. I believe it's because we are blocking the UI thread and freezing flutter, so the image preview freezes. I think what we can do to improve this is when calling take picture from android, we need to return a completer future so we can immediately call the result function to unblock flutter, and then once the image is processed we can complete it to return the image path back to dart. The same could be applied to starting/stopping video capture too.

    Related issues:

    • https://github.com/flutter/flutter/issues/76782 (potentailly)
    • https://github.com/flutter/flutter/issues/76498
    • https://github.com/flutter/flutter/issues/76311
    • https://github.com/flutter/flutter/issues/76305
    • https://github.com/flutter/flutter/issues/75641
    • https://github.com/flutter/flutter/issues/75506
    • https://github.com/flutter/flutter/issues/75133
    • https://github.com/flutter/flutter/issues/75208
    • https://github.com/flutter/flutter/issues/73561
    • https://github.com/flutter/flutter/issues/73504

    Pre-launch Checklist

    • [x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
    • [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • [x] I read the Tree Hygiene wiki page, which explains my responsibilities.
    • [x] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
    • [x] I listed at least one issue that this PR fixes in the description above.
    • [x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
    • [x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
    • [x] I updated CHANGELOG.md to add a description of the change.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] I signed the CLA.
    • [x] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-new channel on Discord.

    cla: no p: camera platform-android 
    opened by acoutts 80
  • [video_player] Caching for network data source

    [video_player] Caching for network data source

    Description

    This PR improves other PR to speed up the process of merging of this feature

    Adapt caching to the new structure of video plugin. Add tests. Pass maxCacheSize and maxCacheFileSize to platform only on plugin initialization because it is unnecessary to pass it on each creation of VideoController. Pass useCache property to platform only for network data source. Fix bug with disposeAllPlayers which wasn't called on plugin initialization as intended. Also on platform side in init wasn't called result.success after success which leads to hangs.

    Related Issues

    https://github.com/flutter/flutter/issues/28094

    Checklist

    • [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
    • [x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
    • [x] All existing and new tests are passing.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] The analyzer (flutter analyze) does not report any problems on my PR.
    • [x] I read and followed the [Flutter Style Guide].
    • [x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
    • [x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy].
    • [x] I updated CHANGELOG.md to add a description of the change.
    • [x] I signed the [CLA].
    • [x] I am willing to follow-up on review comments in a timely manner.

    Breaking Change

    Does your PR require plugin users to manually update their apps to accommodate your change?

    • [x] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
    • [ ] No, this is not a breaking change.
    cla: no 
    opened by sanekyy 76
  • [share] Add sharing file support (android & ios)

    [share] Add sharing file support (android & ios)

    This pull request adds file sharing support to the share plugin.

    Share.shareFile(File('${directory.path}/image.jpg'));
    

    To use while it is not yet published in the share plugin, just use the following in your pubspec.yaml:

    dependencies:
      ...
      share:
        git:
          url: https://github.com/pboos/plugins.git
          path: packages/share
          ref: feature/shareFile
    
    cla: yes 
    opened by pboos 72
Owner
Flutter
Flutter is Google's UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase.
Flutter
For flutter native plugins, send event to main thread.

native_main_thread A new Flutter plugin. Getting Started This project is a starting point for a Flutter plug-in package, a specialized package that in

null 0 Nov 26, 2021
🔥 A collection of Firebase plugins for Flutter apps.

FlutterFire FlutterFire is a set of Flutter plugins that enable Flutter apps to use Firebase services. You can follow an example that shows how to use

null 7.4k Dec 31, 2022
Backend team for CPTR450-Diplomacy

Authentication Authentication will be achieved through Firebase APIs to make user management effortless. The frontend authenticates through Firebase d

null 4 Jun 6, 2022
Mabar Team - Sal.Creative

s_a_lcreative A new Flutter project. Getting Started FlutterFlow projects are built to run on the Flutter stable release. IMPORTANT: For projects with

Dimas Adityo 1 Dec 11, 2021
Flutter Music Player - First Open Source Flutter based material design music player with audio plugin to play local music files.

Flutter Music Player First Open Source Flutter based Beautiful Material Design Music Player(Online Radio will be added soon.) Demo App Play Store BETA

Pawan Kumar 1.5k Jan 8, 2023
a project for learning all Flutter Widgets , sync from flutter.dev the officia website.

Flutter Widgets Catalog (WIP) 计划 1、使用Flutter开发一个全平台的Flutter Widgets Catalog APP,并且开源。在这个APP中可以通过图形化的方式查看所有Widgets的介绍,示例,视频教程。 2、所有文档内容由前一天从flutter.dev

ezshine 32 Aug 3, 2022
A low-cost Flutter screen adaptation solution(一个极低成本的 Flutter 屏幕适配方案)

A low-cost Flutter screen adaptation solution(一个极低成本的 Flutter 屏幕适配方案) 100% 还原 UI,只需要按照设计图写的宽高写即可 先看图片,设置的标准宽度是 360 iPhone 8 --------------------------

聂志洋 108 Sep 27, 2022
Flutter 2.0 (Null safety) Basic, Dynamic & Silver style Staggered Grid views made using flutter staggered grid view package. 🦺

Staggered Grid View Developement Stack Getting Started This project is a starting point for a Flutter application. A few resources to get you started

Nakshatra Singh 9 Oct 28, 2022
A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

system_tray A Flutter package that that enables support for system tray menu for desktop flutter apps. on Windows, macOS and Linux. Features: - Modify

AnTler 140 Dec 30, 2022