Border.fromBorderSide constructor

const Border.fromBorderSide(
  1. BorderSide side
)

Creates a border whose sides are all the same.

Implementation

const Border.fromBorderSide(BorderSide side)
    : top = side,
      right = side,
      bottom = side,
      left = side,
      super();