Neovim for Beginners — Flutter

Use Neovim and Flutter for mobile application development.



Neovim for Beginners — Flutter

In this article, we will configure Neovim to use Flutter and the Dart programming language to develop mobile applications.

This article is part of the Neovim for Beginners series.

The Neovim configuration files can be found in this repository.

Getting Started

Flutter SDK

We need to install the Flutter SDK. Depending on the operating system, we can use the guidelines from the website.

For Linux users, avoid using snapd for the installation as there is an issue using the flutter command if snapd is used.

For this article, we will clone the Flutter repository and configure the PATH variable.

$ git clone
$ export PATH="$PATH:`pwd`/flutter/bin"

Android Setup

We need to install Android Studio and set up the Android device and emulator.

Linux Requirements

For Linux users, make sure to install other libraries mentioned here.

$ sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev

Flutter Doctor

Run the flutter doctor command to see if there are any dependencies we need to install to complete the setup (for verbose output, add the -v flag).

$ flutter doctor
Flutter Doctor


We are ready to configure Neovim now.


We are going to use the flutter-tools.nvim plugin. In the lua/plugins.lua file, add the lines to install the plugin.

-- Flutter
use {
requires = { "nvim-lua/plenary.nvim" },
config = function()





Software engineer, Data Science and ML practitioner.