ShapeBorder.continuousRectangle constructor Null safety

  1. @Implements<OutlinedBorder>()
const ShapeBorder.continuousRectangle(
  1. {@Default(BorderSide.none) BorderSide side,
  2. @Default(BorderRadius.zero) BorderRadius borderRadius}
)

Implementation

@Implements<OutlinedBorder>()
const factory ShapeBorder.continuousRectangle({
  @Default(BorderSide.none) BorderSide side,
  @Default(BorderRadius.zero) BorderRadius borderRadius,
}) = ContinuousRectangleBorder;