Automate your Flutter code with Github Copilot

Salman Bediya
3 min readJun 13, 2022

Are you tired to do thousands of lines of code daily?
Do you want a robot who can code on your behalf?
Do you know about the Github copilot?

If these are your concerns then this article is for you. Now the robot will do your office work and you can sleep half of your time without worrying about the work.

Let’s explore it!

Github Copilot

GitHub Copilot is an artificial intelligence tool created by GitHub and OpenAI to help users of the Visual Studio Code, Visual Studio, Neovim, Android Studio, and JetBrains integrated development environments by autocompleting code.
It is trained on billions of lines of public code, It puts the knowledge you need at your fingertips, saving you time and helping you stay focused.

How to install Github Copilot?

It’s not a big deal. You can easily configure it on your IDE. Let’s consider Android Studio for now. You can follow the same steps for VS code as well.

Just go to the Android Studio Plugin section and search the keyword Github Copilot and install it.

After installation, you can see the robot icon on the bottom bar of your android studio.

Just click it and log in with your Github account to activate the Github Copilot.

Note: If you are using it the first time, then you need to request access to the Github Copilot from Github by clicking the following URL

Perfect, Now we can use Github Copilot in our IDE.
You can see the Github Copilot option on the right-hand of the IDE. Just click it to open the window same as the image where it is waiting for your instruction to suggest you some code.

It is the time for magic. Now you will just give instructions in terms of comments in your editor and the Github Copilot will write code for you. And sometimes it will suggest you the comments as well. Just you need to press the Tab key to adapt the code or you can see different suggestions on the Github Copilot tab on the right side of IDE.

Hopefully, this article has changed your programming mindset and you will be excited to experience this amazing feature in your IDE.

If you have any confusion, please check out the video for a details explanation and implementation.

Don’t forget to comment and applaud the article.



Salman Bediya

Developer | Open Source Contributor | Creator | Mentor | Public Speaker | Blogger | Entrepreneur | YouTuber. Let's Flutter with Dart