How to create a inner radius in the appbar in Flutter. Please check the image.
2
That seems like a stack of widgets with a border radius in the top widget. You can use Stack() widget to achieve the UI
Stack()
You can follow:
you can make it by using Transform.translate in this way:
Scaffold( appBar: AppBar(), body: Column( children: [ Transform.translate( offset: Offset(0, -10) child: Card( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circle(15)) child: ... ) ) ] ) )
Click here to cancel reply.
2
Answers
That seems like a stack of widgets with a border radius in the top widget. You can use
Stack()
widget to achieve the UIYou can follow:
you can make it by using Transform.translate in this way: