Help us Educate and Empower Girls

Life is undeniably precious, and its existence owes much to the invaluable contribution of girls. Unfortunately, throughout history, girls and boys have often been victimized and sacrificed to…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Google maps in flutter

Image 0: Intro

Want a modern, clean way to display information with map on your flutter app?

Lets start by looking at the skeleton code, The first container in the stack will be our map and the second where we will show the information we need.

Lets start by adding google maps in our app. Code for our container one will be:

Do the following changes for a clean custom map on your flutter map:

Alright, so now the last step is to create the bottom container. This is the tricky part, inside our second container will be an animated container wrapped within a gesture detector aligned at the bottom of the screen.

Image 2: Containers

This animation can also be achieved by using animated position but, it was not working properly on different screen sizes so I ended up using animated container instead 😁.

I hope you like this tutorial, this simple animation can be used in various ways cannot wait to see what you do with it!

Full code:

Add a comment

Related posts:

Insider makes bold Draymond Green prediction

NBA Analytics NetworkDraymond Green is expected to re-sign with the Golden State Warriors, according to ESPN NBA insi… Draymond Green is expected to re-sign with the Golden State Warriors, according…

Even the Most Generous Souls Are Less than Perfect

You analyze the people and the interactions around you, looking for signs of a hidden meaning behind every action or word. You want to see the red flags in a relationship as early as possible, you…