Flutter Material UI EdgeInsets Config

EdgeInsets Constructors

  • EdgeInsets.all(double value): Creates insets where all the offsets are value.

  • EdgeInsets.fromLTRB(double left, double top, double right, double bottom): Creates insets from offsets from the left, top, right, and bottom.

  • EdgeInsets.fromWindowPadding(WindowPadding padding, double devicePixelRatio): Creates insets that match the given window padding.

  • EdgeInsets.only({double left, double top, double right, double bottom}): Creates insets with only the given values non-zero.

  • EdgeInsets.symmetric({double vertical = 0.0, double horizontal = 0.0}): Creates insets with symmetrical vertical and horizontal offsets.