Flutter has a large collection of widgets that you can use to build your user interface. Some of the most commonly used widgets are:
Container
: A box that can contain other widgets.- Properties:
child
,alignment
,padding
,margin
,decoration
, etc.
- Properties:
Text
: A widget for displaying a short piece of text.- Properties:
data
,style
,textAlign
,maxLines
,overflow
, etc.
- Properties:
Image
: A widget for displaying an image.- Properties:
image
,width
,height
,fit
,alignment
,repeat
, etc.
- Properties:
RaisedButton
: A material design raised button.- Properties:
child
,onPressed
,color
,elevation
,shape
, etc.
- Properties:
Scaffold
: The basic layout structure of an app, providing a default app bar, body, and floating action button.- Properties:
appBar
,body
,floatingActionButton
,backgroundColor
, etc.
- Properties:
ListView
: A scrollable list of widgets.- Properties:
children
,scrollDirection
,reverse
,controller
, etc.
- Properties:
Card
: A material design card.- Properties:
child
,elevation
,shape
,margin
,clipBehavior
, etc.
- Properties:
Expanded
: A widget that expands to fill the available space.- Properties:
child
,flex
,fit
,alignment
, etc.
- Properties:
Column
: A widget that displays its children in a vertical arrangement.- Properties:
children
,mainAxisAlignment
,crossAxisAlignment
,textDirection
, etc.
- Properties:
Row
: A widget that displays its children in a horizontal arrangement.- Properties:
children
,mainAxisAlignment
,crossAxisAlignment
,textDirection
, etc.
- Properties:
These are just a few examples of the many widgets available in Flutter. Each widget has a set of properties that you can use to customize its behavior and appearance. For a complete list of available widgets and their properties, you can refer to the Flutter documentation.