Image for post
Image for post
How to use Cloud Functions in Flutter App?

Welcome to this article about Flutter, Google Firebase, and Google Cloud Functions.

In this article, I will speak about — Firebase Function for a Flutter mobile app. For the past year, there were more and more articles about Function-as-a-Service (Faas) or serverless software. Google Cloud Functions is one implementation of this service. And we will see how we can implement this in a very basic “Hello World” Flutter/Firebase project.

In this article, you must have some knowledge about Flutter. It will develop an Android app one a Linux distribution with Android Studio. But you can easily adjust to your project.

Overview


Image for post
Image for post
I like the background of this picture (https://aptude.com/)

Today, I will speak to you about the sensor package. It ensures access to the accelerometer and gyroscope sensors. May be it can be useful for your game app 🙂

Create the project

flutter create sensorTest

cd sensorTest

Add the dependency

In pubspec.yaml, add (or any other version) :

sensors: ^0.4.2+4

Do not forget to get the dependency

flutter pub get

Sensors


Image for post
Image for post
Flutter (https://aptude.com/)

Everything starting during the 2020 lockdown. I had a bit of (it is the case to be said) time. As a developer, I have never taken the opportunity to experience mobile app programming. It was the right time, and I decide to try Flutter

Flutter, What is this?

Flutter is an SDK for cross-platform development. It makes it possible to create an interface on mobiles (Android, IOS…) and website design, by using a single code


Image for post
Image for post
Flutter (https://aptude.com/)

Tout à commencer pendant le confinement 2020, j’avais un peu (c’est le cas de le dire) de temps. Étant développeur mais n’ayant jamais eu l’occasion d’expérimenté la programmation d’application mobile. Je me suis dis c’est le moment. J’ai donc jeté mon dévolu sur Flutter

Flutter qu’est-ce que c’est ?

About

Stravaros

Hi, my name is Stravaros, I am a French Java developer. But behind this professional activy. I am a Flutter discover, mountain lover and boardgame gamer

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