Android Intent Plugin for Flutter

This plugin allows Flutter apps to launch arbitrary intents when the platform is Android. If the plugin is invoked on iOS, it will crash your app. In checked mode, we assert that the platform should be Android.

Use it by specifying action, category, data and extra arguments for the intent. It does not support returning the result of the launched activity. Sample usage:

if (platform.isAndroid) {
  AndroidIntent intent = new AndroidIntent(
      action: 'action_view',
      data: ''
      arguments: {'authAccount': currentUserEmail},
  await intent.launch();

See documentation on the AndroidIntent class for details on each parameter.

Action parameter can be any action including a custom class name to be invoked. If a standard android action is required, the recommendation is to add support for it in the plugin and use an action constant to refer to it. For instance:

'action_view' translates to android.os.Intent.ACTION_VIEW

Feel free to add support for additional Android intents.

Note that a similar method does not currently exist for iOS. Instead, the system plugin (UrlLauncher) can be used for deep linking. UrlLauncher can also be used for creating ACTION_VIEW intents for Android, however this intent plugin also allows clients to set extra parameters for the intent.

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.




Support for asynchronous programming, with classes such as Future and Stream.


Classes and utilities that supplement the collection support in dart:core.


Encoders and decoders for converting between different data representations, including JSON and UTF-8.


Built-in types, collections, and other core functionality for every Dart program.


Interact with developer tools such as the debugger and inspector.


File, socket, HTTP, and other I/O support for server applications.


Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages.


Mathematical constants and functions, plus a random number generator.


Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types.


Built-in types and core primitives for a Flutter application.