EdgeInsetsX extension

Padding helpers on EdgeInsets.

on

Properties

symmetricHorizontal → EdgeInsets

Available on EdgeInsets, provided by the EdgeInsetsX extension

EdgeInsets.symmetric(horizontal: v, vertical: 0).
no setter
symmetricVertical → EdgeInsets

Available on EdgeInsets, provided by the EdgeInsetsX extension

EdgeInsets.symmetric(vertical: v, horizontal: 0).
no setter

Methods

withHorizontal(double value) → EdgeInsets

Available on EdgeInsets, provided by the EdgeInsetsX extension

A copy with new horizontal values, keeping vertical from this inset.
withVertical(double value) → EdgeInsets

Available on EdgeInsets, provided by the EdgeInsetsX extension

A copy with new vertical values, keeping horizontal from this inset.