ImageStyle enum

Image style options for generation

Inheritance
Available extensions

Values

natural → const ImageStyle

Natural, photographic style

vivid → const ImageStyle

Vivid, artistic style

anime → const ImageStyle

Anime/cartoon style

digitalArt → const ImageStyle

Digital art style

oilPainting → const ImageStyle

Oil painting style

watercolor → const ImageStyle

Watercolor style

sketch → const ImageStyle

Sketch/pencil style

render3d → const ImageStyle

3D render style

pixelArt → const ImageStyle

Pixel art style

abstract → const ImageStyle

Abstract style

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
value String
Convert to string value for API requests
no setter

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

Static Methods

fromString(String? value) ImageStyle?
Create from string value

Constants

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