ShaderCallback typedef

Shader ShaderCallback (Rect bounds)

Signature for a function that creates a Shader for a given Rect.

Used by RenderShaderMask and the ShaderMask widget.

Implementation

typedef ShaderCallback = Shader Function(Rect bounds);