shapeLinear method
Widget
shapeLinear({
- Color? fillColor,
- Color? borderColor,
- BorderSide? side,
- LinearBorderEdge? start,
- LinearBorderEdge? end,
- LinearBorderEdge? top,
- LinearBorderEdge? bottom,
Implementation
Widget shapeLinear(
{Color? fillColor, Color? borderColor, BorderSide? side, LinearBorderEdge? start, LinearBorderEdge? end, LinearBorderEdge? top, LinearBorderEdge? bottom}) {
BorderSide? bs = side;
if (bs == null && borderColor != null) {
bs = BorderSide(color: borderColor);
}
return this.shapeDecorated(shape: LinearBorder(side: bs ?? BorderSide.none, start: start, end: end, top: top, bottom: bottom), color: fillColor);
}