
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.
Flutter Examples
This directory contains several examples of using Flutter. Each of these is an
individual Dart application package. If you wish to run them with sky_tool
then you will want to run pub get
inside their directory before running
./packages/sky/sky_tool start
.
-
Hello, world. The hello world app is a basic app that shows the text "hello, world."
-
Stocks. The stocks app is an example of a typical mobile app built using Flutter. The app shows a list of all the stocks in the NASDAQ.
-
Widgets. The widgets app contains a number of Flutter widgets so you can experiment with them in a simple container.