Home > OS >  how to put widgets like cards that shown in the picture on top of an app bar?
how to put widgets like cards that shown in the picture on top of an app bar?

Time:11-19

I'm beginner in flutter and i had to do some things that are required so my question is how I put all of these widgets on top of the app bar widget the output:

enter image description here

what i want to recreate :

enter image description here

CodePudding user response:

You have to use Stack widget for that. Stack widget is used to place one widget on top of another.

Stack( 
   children: [
      Container(color: Colors.blue),// your blue container here
      Column( //your entire column here
         children: [ .... ], 
      ), 
   ], 
),

CodePudding user response:

You can use Stack check here the stack official Documentation

  • Related