TextureSettings class

Native texture rendering configuration settings.

These settings control the resolution of the native texture used for video rendering on desktop and mobile platforms.

Example JSON:

{
  "width": 640,
  "height": 480
}

Constructors

TextureSettings({required int width, required int height})
Creates texture settings with the specified dimensions.
TextureSettings.fromJsonFile(Map<String, dynamic> json)
Creates texture settings from a JSON map.

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
Texture height in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Texture width in pixels.
final

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