rectangleColor function
Implementation
bool rectangleColor(
  Pointer<SdlRenderer> renderer,
  double x1,
  double y1,
  double x2,
  double y2,
  int color, {
  int blendMode = SDL_BLENDMODE_BLEND,
}) {
  final co = Uint32List.fromList([color]).buffer.asUint8List();
  return rectangleRgba(
    renderer,
    x1,
    y1,
    x2,
    y2,
    co[0],
    co[1],
    co[2],
    co[3],
    blendMode: blendMode,
  );
}