IDKitWidgetPadding extension
- on
Methods
-
insets(
EdgeInsetsGeometry edgeInsets) → Widget - Add margins to widgets.
-
insetsAll(
double value) → Widget -
insetsOnly(
{double top = 0.0, double left = 0.0, double right = 0.0, double bottom = 0.0}) → Widget - Add a margin to one side of the widget.
-
insetsSymmetric(
{double vertical = 0.0, double horizontal = 0.0}) → Widget - Add vertical or horizontal margins to widgets.
-
silverInsets(
EdgeInsetsGeometry edgeInsets) → Widget - Add margin to Sliver type widget.
-
silverInsetsAll(
double value) → Widget -
silverInsetsOnly(
{double top = 0.0, double left = 0.0, double right = 0.0, double bottom = 0.0}) → Widget - Add a margin to a side of a Sliver widget.
-
silverInsetsSymmetric(
{double vertical = 0.0, double horizontal = 0.0}) → Widget - Add horizontal or vertical margins to Sliver widgets.