WxLinearBorder.top constructor

WxLinearBorder.top({
  1. WxBorderSide? side,
  2. double alignment = 0.0,
  3. double size = 1.0,
})

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

Implementation

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