ImageMargins.all constructor

const ImageMargins.all(
  1. int value
)

Creates an instance of ImageMargins with equal margins on all sides.

Implementation

const ImageMargins.all(int value)
    : assert(value >= 0),
      left = value,
      right = value,
      top = value,
      bottom = value;