ShaderCallback typedef

Shader ShaderCallback (
  1. 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);