Insets constructor

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

Implementation

Insets({
  /// The x-axis distance from the left bound.
  required int left,

  /// The y-axis distance from the top bound.
  required int top,

  /// The x-axis distance from the right bound.
  required int right,

  /// The y-axis distance from the bottom bound.
  required int bottom,
}) : _wrapped = $js.Insets(
        left: left,
        top: top,
        right: right,
        bottom: bottom,
      );