Flutter plugins

Flutter plugins

GPS sensor

Use the geolocator community plugin.

Access the camera

The image_picker plugin is popular for accessing the camera.

Log in with Facebook

To Log in with Facebook, use the flutter_facebook_login community plugin.

Firebase features

Most Firebase functions are covered by first party plugins. These plugins are first-party integrations, maintained by the Flutter team:.

Own custom native integrations

If there is platform-specific functionality that Flutter or its community Plugins are missing, you can build your own following the developing packages and plugins page. Flutter’s plugin architecture, in a nutshell, is much like using an Event bus in Android: you fire off a message and let the receiver process and emit a result back to you. In this case, the receiver is code running on the native side on Android or iOS.

Use the NDK

If you use the NDK in your current Android application and want your Flutter application to take advantage of your native libraries then it’s possible by building a custom plugin.

Your custom plugin first talks to your Android app, where you call your native functions over JNI. Once a response is ready, send a message back to Flutter and render the result. Calling native code directly from Flutter is currently not supported.

Flutter plugins — Structure map

Clickable & Draggable!

Flutter plugins — Related pages: