• Victor Choueiri's avatar
    Add SweepGradient (#17368) · d57cc44f
    Victor Choueiri authored
    This PR adds a SweepGradient class, extending Gradient to expose the engine's ui.Gradient.sweep shader.
    
    Similar to LinearGradient and RadialGradient - SweepGradients can be used in a BoxDecoration or passed to a Paint's shader.
    d57cc44f
basic.dart 202 KB