Home > Back-end >  Flutter: cannot create horizontally scrollable body with shown scroll bar
Flutter: cannot create horizontally scrollable body with shown scroll bar

Time:12-11

I need help to create scrollable body: enter image description here Ignore the handles, they only appear on desktop, drag and drop works on mobile devices.

CodePudding user response:

Try wrap Padding in your Scaffold with SingleChildScrollView

 SingleChildScrollView(
    scrollDirection: Axis.horizontal,
    child: Padding(),
 )

Other option that you can use is GridView, and ListView.

  • Related