ContinuousRectangleBorder constructor Null safety

const ContinuousRectangleBorder(
  1. {BorderSide side = BorderSide.none,
  2. BorderRadiusGeometry borderRadius = BorderRadius.zero}
)

The arguments must not be null.

Implementation

const ContinuousRectangleBorder({
  super.side,
  this.borderRadius = BorderRadius.zero,
}) : assert(side != null),
     assert(borderRadius != null);