BoxBorder.symmetric constructor

const BoxBorder.symmetric({
  1. BorderSide vertical,
  2. BorderSide horizontal,
})

Creates a Border with symmetrical vertical and horizontal sides.

The vertical argument applies to the left and right sides, and the horizontal argument applies to the top and bottom sides.

All arguments default to BorderSide.none.

Implementation

const factory BoxBorder.symmetric({BorderSide vertical, BorderSide horizontal}) =
    Border.symmetric;