LinearBorder.start constructor

LinearBorder.start({
  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 left for TextDirection.ltr or on the right for TextDirection.rtl.

Implementation

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