createShader method
Resolve these Steps
to its smooth Gradient
counterpart, then use that
gradient's createShader()
method.
Implementation
@override
ui.Shader createShader(ui.Rect rect, {ui.TextDirection? textDirection}) =>
asGradient.createShader(rect, textDirection: textDirection);