EdgeInsets.all constructor Null safety

const EdgeInsets.all(
  1. double value
)

Creates insets where all the offsets are value.

Typical eight-pixel margin on all sides:
const EdgeInsets.all(8.0)

Implementation

const EdgeInsets.all(double value)
  : left = value,
    top = value,
    right = value,
    bottom = value;