WxBorderStyle constructor

const WxBorderStyle(
  1. List<double> pattern, {
  2. bool absolute = false,
})

Creates a new WxBorderStyle with the specified pattern, and flag to determine the pattern should relative to border width or not.

  • pattern: A list of doubles representing the on/off durations of the border pattern. A value of 1 represents "on," and other values represent "off."
  • absolute (default: false): Whether the pattern's position is relative to the border width (false) or absolute value (true).

Implementation

const WxBorderStyle(
  this.pattern, {
  this.absolute = false,
});