FragmentProgram class

An instance of FragmentProgram creates Shader objects (as used by Paint.shader).

For more information, see the website documentation.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fragmentShader() FragmentShader
Returns a fresh instance of FragmentShader.
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

fromAsset(String assetKey) Future<FragmentProgram>
Creates a fragment program from the asset with key assetKey.