GiphyRendition enum
An enumeration representing a Giphy Rendition Type (e.g., original/preview/...)
Values
- original → const GiphyRendition
-
Original file size and file dimensions. Good for desktop use.
- originalStill → const GiphyRendition
-
Preview image for original.
- preview → const GiphyRendition
-
File size under 50kb. Duration may be truncated to meet file size requirements. Good for thumbnails and previews.
- looping → const GiphyRendition
-
Duration set to loop for 15 seconds. Only recommended for this exact use case.
- fixedHeight → const GiphyRendition
-
Height set to 200px. Good for mobile use.
- fixedHeightStill → const GiphyRendition
-
Static preview image for fixed_height
- fixedHeightDownsampled → const GiphyRendition
-
Height set to 200px. Reduced to 6 frames to minimize file size to the lowest. Works well for unlimited scroll on mobile and as animated previews. See Giphy.com on mobile web as an example.
- fixedHeightSmall → const GiphyRendition
-
Height set to 100px. Good for mobile keyboards.
- fixedHeightSmallStill → const GiphyRendition
-
Static preview image for fixed_height_small
- fixedWidth → const GiphyRendition
-
Width set to 200px. Good for mobile use.
- fixedWidthStill → const GiphyRendition
-
Static preview image for fixed_width
- fixedWidthDownsampled → const GiphyRendition
-
Width set to 200px. Reduced to 6 frames. Works well for unlimited scroll on mobile and as animated previews.
- fixedWidthSmall → const GiphyRendition
-
Width set to 100px. Good for mobile keyboards.
- fixedWidthSmallStill → const GiphyRendition
-
Static preview image for fixed_width_small
- downsized → const GiphyRendition
-
File size under 2mb.
- downsizedSmall → const GiphyRendition
-
File size under 200kb.
- downsizedMedium → const GiphyRendition
-
File size under 5mb.
- downsizedLarge → const GiphyRendition
-
File size under 8mb.
- downsizedStill → const GiphyRendition
-
Static preview image for downsized.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
GiphyRendition> - A constant List of the values in this enum, in order of their declaration.