Creates a shader from this gradient for the given bounds.
Shader createShader(Rect bounds) { return toGradient().createShader(bounds); }