NativeEdgeInsets.symmetric constructor

const NativeEdgeInsets.symmetric({
  1. double horizontal = 0.0,
  2. double vertical = 0.0,
})

Creates offsets with symmetrical horizontal and vertical values.

Implementation

const NativeEdgeInsets.symmetric({
  double horizontal = 0.0,
  double vertical = 0.0,
})  : left = horizontal,
      right = horizontal,
      top = vertical,
      bottom = vertical;