In just for completion purposes here we're going to add a floating action button.
So once a floating there's a few here but we are focusing on the first one which is a widget floating
action button.
And to create one which is a floating action button.
There we go.
And notice here there's a few things that we can pass.
As usual we can pass child till foreground background in so many other things but we interesting small
things at this point.
You can explore all of those in your own your own way to look at a background color.
Say colors and let's give it a light green accent such and we can add a child again.
What's new we can add any child here.
But in this case someone is past an icon passing icons.
And I'm going to get.
Let's see this fine mist called mist like this.
Save this and go you can see we have just like that we have our floating button showing up there so
we can click on it and nothing real happens because we said that on our press we're just passing no
notice.
That's one of those behaviors.
If you have normal four on pressed then the click action doesn't really work.
And you can see that when I click.
Nothing really happens there's no propagation of our click.
There's nothing it makes sense.
So as always we are going to pass an anonymous function here which is going to say debug print and we're
going to say something like you know say hello.
OK.
Save that.
And now when he tap you notice the things have changed.
You notice now our propagation is working perfectly.
And if we look at our consoles we see there is Halo and they're good.
So there we go.
And of course you can customize to your liking because this child here can take any type of widgets
we just chose to leverage the icon library and pass an icon.
I saw this one here we've done a lot of pieces that pertain to material design mainly looking at scaffold
and looking at all these features that come for free for us to use right away.
It's really easy to use our app bar.
We can add all those action buttons we can customize our own button using gesture like text or inkwell.
Now we have this floating button there at the bottom here we added these bottom navigation bar there.
Here should be fairly comfortable putting together very simplistic yet powerful user interfaces using
flattery.
And I hope you go ahead and do so because you have everything so far at least the basics for you to
start tinkering around a little bit in depth.
Very nice and I'll see you the next video.