RoundedRectangleGradientBorder constructor

const RoundedRectangleGradientBorder({
  1. Gradient gradient = const LinearGradient(colors: []),
  2. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  3. double width = 1.0,
  4. double strokeAlign = strokeAlignInside,
  5. BorderStyle style = BorderStyle.solid,
})

Creates a rounded rectangle border.

Implementation

const RoundedRectangleGradientBorder({
  this.gradient = const LinearGradient(colors: []),
  this.borderRadius = BorderRadius.zero,
  this.width = 1.0,
  this.strokeAlign = strokeAlignInside,
  this.style = BorderStyle.solid,
});