Last active
December 21, 2018 02:44
-
-
Save yumi0629/2bb21d5df5fd3bb3ca7dbe7e34ff435b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ShaderMask( | |
blendMode: BlendMode.srcIn, | |
shaderCallback: (Rect bounds) { | |
return ui.Gradient.linear( | |
Offset(4.0, 24.0), | |
Offset(24.0, 4.0), | |
[ | |
Colors.blue[200], | |
Colors.amber, | |
], | |
); | |
}, | |
child: Icon(Icons.ac_unit,size: 50.0,), | |
) , |
Author
yumi0629
commented
Dec 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment