EdgeInsetsDirectional.all constructor

const EdgeInsetsDirectional.all(
  1. double value
)

Creates insets where all the offsets are value.

{@tool snippet}

Typical eight-pixel margin on all sides:

const EdgeInsetsDirectional.all(8.0)

{@end-tool}

Implementation

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