StadiumBorder constructor Null safety

const StadiumBorder(
  1. {BorderSide side = BorderSide.none}
)

Create a stadium border.

The side argument must not be null.

Implementation

const StadiumBorder({ BorderSide side = BorderSide.none }) : assert(side != null), super(side: side);