Created
November 27, 2021 10:36
-
-
Save vstacked/52e8cac2ec08ee4ca30c89fa2dad7acd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Column( | |
| children: [ | |
| IconButton( | |
| icon: ShaderMask( | |
| shaderCallback: (bounds) => LinearGradient( | |
| begin: Alignment.centerLeft, | |
| colors: [ | |
| Colors.orange.shade100, | |
| Colors.orange.shade900, | |
| ], | |
| tileMode: TileMode.mirror, | |
| ).createShader(bounds), | |
| child: const Icon( | |
| Icons.movie_creation, | |
| color: Colors.white, | |
| ), | |
| ), | |
| iconSize: 35, | |
| color: Colors.black, | |
| onPressed: () {}, | |
| ), | |
| FloatingActionButton( | |
| onPressed: _incrementCounter, | |
| tooltip: 'Increment', | |
| child: ShaderMask( | |
| shaderCallback: (bounds) => LinearGradient( | |
| begin: Alignment.centerLeft, | |
| colors: [ | |
| Colors.orange.shade100, | |
| Colors.orange.shade900, | |
| ], | |
| tileMode: TileMode.mirror, | |
| ).createShader(bounds), | |
| child: const Icon(Icons.add, color: Colors.white), | |
| ), | |
| ) | |
| ], | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment