We will reuse this widget many times in the Column. In the below code snippet we are creating a function called cont() that accepts Color as an argument and it returns Container() widget with height: 200 pixels and width: 200 pixels. Complete Code Example Creating a Column Widget.It is also useful if you need to shrink-wrap. This widget is useful when you have a single box that will normally be entirely visible, for example a clock face in a time picker, but you need to make sure it can be scrolled if the container gets too small in one axis (the scroll direction). User Registration, Log in, Log out – Video Tutorials A box in which a single widget can be scrolled.GridView, which displays a 2 dimensional, scrollable array of children.ListView, which displays a linear, scrollable list of children.CupertinoScrollbar, an iOS style scrollbar.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |