ARCore Flutter Plugin: configurations

Image for post
Image for post

After seeing a new augmented reality plugin based on Apple’s ArKit, I decided to create a plugin based on Google’s ARCore: ARCore Flutter Plugin

You can see any examples on my Twitter’s profile.

What can you do with this plugin (for now)?

  • add a node positioned according to the position of the camera
  • add a node anchored to an automatically detected plan
  • add a shape to a node
  • add a style to a shape (color, reflectance, roughness, metallic)
  • add a texture to a shape
  • add a rotating node
  • add node with children nodes
  • detect a plane
  • detect the tap on a node
  • detect the tap on a detected floor
  • remove a node

I will write a series of articles to show how to use the plugin:

Let’s start with the project configurations.


In this section we will configure our app to work with ARCore Flutter plugin. First of all create a new Flutter application.

If you are reading this article you already know how to create a flutter application so let’s move on to the configuration to use the plugin.

Install dependency

Add this to your package’s pubspec.yaml file:

Add AR Required or AR Optional entries to manifest

You can see this for more information or continue with these standard step.

Add this entries in AndroidManifest.xml:

Add build dependencies

Make sure your project’s build.gradle file includes Google's Maven repository:

Add the latest ARCore and Sceneform libraries as a dependencies in your app’s build.gradle file:

Enable AndroidX

Add this properties in file:

Now we are ready for use ARCore Flutter Plugin.

I'm a mobile developer! Flutter is amazing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store