LinearBorder.top constructor

LinearBorder.top({
  1. BorderSide side = BorderSide.none,
  2. double alignment = 0.0,
  3. double size = 1.0,
})

Creates a rectangular box border with an edge on the top.

Implementation

LinearBorder.top({
  super.side,
  double alignment = 0.0,
  double size = 1.0
}) : start = null,
     end = null,
     top = LinearBorderEdge(alignment: alignment, size: size),
     bottom = null;