• Hans Muller's avatar
    ShaderMask · 4de0a99b
    Hans Muller authored
    The ShaderMask widget enables rendering its child with an alpha channel defined by a Shader. For example if the Shader was a linear gradient in alpha then the component behind the ShaderMask's child would appear wherever the gradient's alpha value was not fully opaque.
    
    The card_collection.dart example demonstrates this. Select the "Let the sun shine" checkbox in the app's drawer.
    4de0a99b
basic.dart 26 KB