I’m new using Flutter and and I’m having trouble understanding how the AppBar works.
I would like to get a result similar to this
my main problem is how to add a box, similar to the orange one in the picture, inside the leading, that’s what i want to add exactly: .
the problem I have with the leading is that, having a fixed size, if what’s inside increases in size it overflows, so I thought of creating a custom app bar using rows and columns, any suggestions on how to proceed ?
Thanks in advance.
2
Answers
Here is just a small piece of code. Look into it
Add widget or icon in leading props to show in the very beginning.
note: I had added the icon, you can add any widget instead of that.
This how you can do. Cheers flutter!
I’m try To Solve Your Problem
Here is Code: