IDKitWidgetPadding extension

on
Annotations
  • @Deprecated('This method extension will be deprecated soon, please use dev_prokit.')

Methods

insets(EdgeInsetsGeometry edgeInsets) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add margins to widgets.
insetsAll(double value) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

insetsOnly({double top = 0.0, double left = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add a margin to one side of the widget.
insetsSymmetric({double vertical = 0.0, double horizontal = 0.0}) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add vertical or horizontal margins to widgets.
silverInsets(EdgeInsetsGeometry edgeInsets) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add margin to Sliver type widget.
silverInsetsAll(double value) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

silverInsetsOnly({double top = 0.0, double left = 0.0, double right = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add a margin to a side of a Sliver widget.
silverInsetsSymmetric({double vertical = 0.0, double horizontal = 0.0}) Widget

Available on Widget, provided by the IDKitWidgetPadding extension

Add horizontal or vertical margins to Sliver widgets.