RoundedRectangleGradientBorder constructor
const
RoundedRectangleGradientBorder({
- Gradient gradient = const LinearGradient(colors: []),
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- double width = 1.0,
- double strokeAlign = strokeAlignInside,
- 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,
});