Flutter - How To Make Your Content Or Page Scrollable (SingleChildScrollView Widget)

preview_player
Показать описание
If you have too much information to display to the space given to your widget, then you pretty much have to make it possible to scroll the content (or sometimes the whole page).

This is Flutter's simple way to do it:

Just apply the SingleChildScrollView widget as a parent widget to the parent of the content you wish you make able to scroll. Once that is done, your content will have a scrolling function.

Attention: Sometimes you might run into problems because there is no defined height to the SingleChildScrollView's parent. If that happens, just make sure to set a height.

Watch as I exemplify this on Flutter using the Dart language. All created by Google.
Рекомендации по теме
Комментарии
Автор

Please hit that like button if this video helped you, and subscribe for more Flutter related tutorials. I'd be forever grateful.

FlutterMentor
Автор

hey thnx but my bottom button disappears after using SingleChildScrollView
Can you help me with it please

nakibtheexplorer
Автор

Sir which theme and the font style are you using in android studio like darcula theme and source code pro font style.Please answer your theme and font style look quite smooth.

rsufiyand
Автор

Hi, I had a question. What command should I use to change the color of the checkbox?

Dns
Автор

Don't forget there are subtitles available!

Also, there is another Widget that is similar, called the ListView. That will be my next video which is why I didn't mention it in this video. Thank you all!

FlutterMentor