BoxBorder.symmetric constructor
- BorderSide vertical,
- BorderSide horizontal,
Creates a Border with symmetrical vertical and horizontal sides.
The vertical argument refers to the vertical sides (Border.left and
Border.right), and the horizontal argument refers to the horizontal
sides (Border.top and Border.bottom).
All arguments default to BorderSide.none.
Implementation
const factory BoxBorder.symmetric({BorderSide vertical, BorderSide horizontal}) =
Border.symmetric;