Rectangle
- Flutter
更新时间不可用
目标区域相对于整个屏幕或窗口的位置,如不填,则表示整个屏幕或窗口。
class Rectangle {
const Rectangle({this.x, this.y, this.width, this.height});
@JsonKey(name: 'x')
final int? x;
@JsonKey(name: 'y')
final int? y;
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
factory Rectangle.fromJson(Map<String, dynamic> json) =>
_$RectangleFromJson(json);
Map<String, dynamic> toJson() => _$RectangleToJson(this);
}