EdgeInsetsDirectional.all constructor Null safety

const EdgeInsetsDirectional.all(
  1. double value
)

Creates insets where all the offsets are value.

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

Implementation

const EdgeInsetsDirectional.all(double value)
  : start = value,
    top = value,
    end = value,
    bottom = value;