ImageVersion enum

The ImageVersion specifies the different resolutions and versions of an image for a MtgCard.

Inheritance

Constructors

ImageVersion()
const

Values

small → const ImageVersion

A small full card image.

Designed for use as thumbnail or list icon.

  • Format: JPG
  • Size: 146 x 204
normal → const ImageVersion

A medium-sized full card image.

  • Format: JPG
  • Size: 488 × 680
large → const ImageVersion

A large full card image.

  • Format: JPG
  • Size: 672 × 936
png → const ImageVersion

A transparent, rounded full card PNG.

This is the best image to use for videos or other high-quality content.

  • Format: PNG
  • Size: 745 x 1040
artCrop → const ImageVersion

A rectangular crop of the card’s art only.

Not guaranteed to be perfect for cards with outlier designs or strange frame arrangements.

  • Format: JPG
  • Size: Varies
borderCrop → const ImageVersion

A full card image with the rounded corners and the majority of the border cropped off.

Designed for dated contexts where rounded images can’t be used.

  • Format: JPG
  • Size: 480 x 680

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ImageVersion>
A constant List of the values in this enum, in order of their declaration.