CustomRoundedRectangleBorder constructor
const
CustomRoundedRectangleBorder({
- BorderSide? leftSide,
- BorderSide? rightSide,
- BorderSide? topSide,
- BorderSide? bottomSide,
- BorderSide? topLeftCornerSide,
- BorderSide? topRightCornerSide,
- BorderSide? bottomLeftCornerSide,
- BorderSide? bottomRightCornerSide,
- BorderRadius borderRadius = BorderRadius.zero,
Creates a custom rounded rectangle border. Custom meaning that every single side/corner is controlled individually which grants the possibility to leave out borders, give each border a different color...
The arguments must not be null.
Implementation
const CustomRoundedRectangleBorder({
this.leftSide,
this.rightSide,
this.topSide,
this.bottomSide,
this.topLeftCornerSide,
this.topRightCornerSide,
this.bottomLeftCornerSide,
this.bottomRightCornerSide,
this.borderRadius: BorderRadius.zero,
}) : assert(borderRadius != null);