BorderSide constructor Null safety

const BorderSide(
  1. {@Default(Color(0xFF000000)) Color color,
  2. @Default(1.0) double width,
  3. @Default(BorderStyle.solid) BorderStyle style,
  4. @Default(-1.0) double strokeAlign}
)

Implementation

const factory BorderSide({
  @Default(Color(0xFF000000)) Color color,
  @Default(1.0) double width,
  @Default(BorderStyle.solid) BorderStyle style,
  @Default(-1.0) double strokeAlign,
}) = _BorderSide;