MoonSquicleBorderSide constructor

const MoonSquicleBorderSide({
  1. Color color = const Color(0xFF000000),
  2. double width = 1.0,
  3. BorderStyle style = BorderStyle.solid,
  4. double strokeAlign = strokeAlignInside,
})

Creates the side of a border with premultiplied alpha color.

By default, the border is 1.0 logical pixels wide and solid black.

Implementation

const MoonSquicleBorderSide({
  this.color = const Color(0xFF000000),
  this.width = 1.0,
  this.style = BorderStyle.solid,
  this.strokeAlign = strokeAlignInside,
}) : assert(width >= 0.0);