• 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
Name
Last commit
Last update
..
flutter Loading commit data...
flutter_sprites Loading commit data...
unit Loading commit data...
updater Loading commit data...