Categories

Layout

Stack 

A widget that positions its children relative to the edges of its box. This class is useful if you want to overlap several children in a simple way, for example having some text and an image, overlaid with a gradient and a button attached to…

Layout

Wrap 

A widget that displays its children in multiple horizontal or vertical runs. A Wrap lays out each child and attempts to place the child adjacent to the previous child in the main axis, given by direction, leaving spacing space in between. If there is not enough space to fit the…

Layout

Align 

A widget that aligns its child within itself and optionally sizes itself based on the child’s size. For example, to align a box at the bottom right, you would pass this box a tight constraint that is bigger than the child’s natural size, with an…

Layout

SizedBox 

A box with a specified size. If given a child, this widget forces its child to have a specific width and/or height (assuming values are permitted by this widget’s parent). If either the width or height is null, this widget will size itself to match…

Layout

Center 

A widget that centers its child within itself. This widget will be as big as possible if its dimensions are constrained and widthFactor and heightFactor are null. If a dimension is unconstrained and the corresponding size factor is null then the widget will match its child’s size in that…

Widgets

TextField 

A material design text field. A text field lets the user enter text, either with hardware keyboard or with an onscreen keyboard. The text field calls the onChanged callback whenever the user changes the text in the field. If the user indicates that they are done typing…

Widgets

Container 

If you are new to flutter you must be wondering what is Container then, A Container is a convenience widget that combines common painting, positioning, and sizing widgets. You can use Container to any widgets to add some styling properties. Let’s look into the parameters…

Widgets

Icon 

A graphical icon widget drawn with a glyph from a font described in an IconData such as material’s predefined IconDatas in Icons. Icons are not interactive. For an interactive icon, consider material’s IconButton. There must be an ambient Directionality widget when using Icon. Typically this is introduced automatically by the WidgetsApp or MaterialApp. See also: IconButton,…