A simple guide on how to set up and how to use Firebase Analytics in Flutter.

Photo by William Hook on Unsplash

General Setup


Did you want to have the smooth design of the Scaffold view of the PlayStore in your Flutter app? Here is how.

Photo by UX Store on Unsplash


Did you wonder how to display a date field in Flutter? Here is how to do so!

Photo by Aron Visuals on Unsplash
dependencies:
date_field: ^0.1.2
...

Let’s try it

  1. onDateSelected which is triggered whenever the user picks a date!
  2. selectedDate which will be the date displayed in…


Photo by Sam Dan Truong on Unsplash

1. Always cancel your stream subscription:


Here is the easiest way to manage your app’s connectivity using Flutter and the Connectivity package!

Photo by Thomas Jensen on Unsplash

The Connectivity Package.

  • onConnectivityChanged: returns a Stream which will allow you to know whenever the connectivity of your app changes.
  • checkConnectivity: returns the current connectivity of your app.
  • getWifiName: returns the SSID


Were you wondering how could I create a stylish introduction view? No? Well here is how!

Photo by Fatos Bytyqi on Unsplash

Our goal


Something very stylish those days is to have a responsive header in your ListView! And here is how to code it:

What does our goal looks like:


Coming from the web world, Flutter is the framework that changed my mind about mobile development! I believe that it is great and that it has a future full of promises!

Logo — Flutter

How it all started


Dart is a single thread language, which means it works in a single execution thread! This can be a huge issue when you perform time-consuming tasks. For instance, when you create an application (with Flutter ❤), you do not want it to freeze when you make a request to your server (unless you do not like your users). Therefore, Dart implements Future objects.

Photo by Sonja Langford on Unsplash

Future


Custom widgets to replace buttons

Gaspard Merten

Engineering student and IT enthusiast. I developed many softwares for various startups and well-established companies, thus further enhancing my Flutter skills.

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