Insets constructor

Insets({
  1. required double left,
  2. required double right,
  3. required double top,
  4. required double bottom,
})

Create an immutable insets object.

Parameters:

  • left — The inset from the left edge in DIPs.
  • right — The inset from the right edge in DIPs.
  • top — The inset from the top edge in DIPs.
  • bottom — The inset from the bottom edge in DIPs.