ShapeBorder.roundedRectangle constructor Null safety

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

Implementation

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