Reputation: 15
I was wandering if its a way in flutter to include an app bar like the one in android 12 Google apps (like: Play store, messages, phone etc).
Upvotes: 0
Views: 987
Reputation: 1230
It's very easy you just need to put TextFormField/TextField inside a container like
Container(
....
decoration: BoxDecoration(
borderRadius:
BorderRadius.circular(
15),
child: TextFormField(
decoration:InputDecoration(prefixIcon: 'YOUR PREFIX ICON WIDGET', prefixIcon: 'YOUR SUFFIX ICON WIDGET MAY BE A ROW WIDGET'
))
....
to change look and feel use container more decoration properties like color and others.
Upvotes: 0
Reputation: 4769
It is just a combination of widgets with some decorations
wireframe would be
Create a widget following those and should be able to create that
Upvotes: 2