Spacing.symmetric constructor

const Spacing.symmetric(
  1. {int vertical = 0,
  2. int horizontal = 0}
)

Creates spacing with symmetrical vertical and horizontal offsets.

Implementation

const Spacing.symmetric({
  int vertical = 0,
  int horizontal = 0,
}) : this.fromLTRB(horizontal, vertical, horizontal, vertical);