Material Widget input properties cheat sheet
This section will list widget inputs, and it’s responsibility.
color: The color to paint the material. The Colors enum will apply here.
textStyle: The typographical style to use for text within this material.
height: height of the widget, it’s take double value
width: width of the widget, it’s take double value
padding: Empty space to inscribe inside the decoration. The child, if any, is placed inside this padding. It describes by EdgeInsets
margin: Empty space to surround the decoration and child. It describes by EdgeInsets
shape: The shape to fill the background color, gradient, and image into and to cast as the boxShadow. It describes by BoxShape Enum.
border: A border to draw above the background color, gradient, or image.
decoration: The decoration to paint behind the child.
crossAxisAlignment: How the children should be placed along the cross axis using CrossAxisAlignment
mainAxisAlignment: How the children should be placed along the main axis using MainAxisAlignment