VideoDimensions

  • Flutter

更新时间不可用

视频尺寸。

Dart
class VideoDimensions {
  const VideoDimensions({this.width, this.height});

  @JsonKey(name: 'width')
  final int? width;
  @JsonKey(name: 'height')
  final int? height;
  factory VideoDimensions.fromJson(Map<String, dynamic> json) =>
      _$VideoDimensionsFromJson(json);
  Map<String, dynamic> toJson() => _$VideoDimensionsToJson(this);
}

属性

参数名描述
width

视频宽度,单位为像素。

height

视频高度,单位为像素。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?