BeveledRectangleBorder constructor Null safety
- {BorderSide side = BorderSide.none,
- BorderRadiusGeometry borderRadius = BorderRadius.zero}
Creates a border like a RoundedRectangleBorder except that the corners are joined by straight lines instead of arcs.
The arguments must not be null.
Implementation
const BeveledRectangleBorder({
super.side,
this.borderRadius = BorderRadius.zero,
}) : assert(side != null),
assert(borderRadius != null);