Created
September 26, 2019 19:33
-
-
Save av/857bb8a5f43964c5f7da469395bce2d4 to your computer and use it in GitHub Desktop.
Flutter: texture generator, white dots
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
// ... | |
/// White dots each 20 pixels | |
if (x % 20 == 0 && y % 20 == 0) { | |
return 0xffffffff; | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment