Created
October 31, 2019 12:32
-
-
Save av/94b73a973746fc2f205a0d1a41fb2e54 to your computer and use it in GitHub Desktop.
Flutter: sample particle benchmark
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
particle: ParticleGenerator( | |
2000, | |
(i) => Aligned( | |
alignment: Randoms.alignment(), | |
child: MovingParticle( | |
from: Offset.zero, | |
to: Randoms.offsetFromSize(const Size(100, 100)), | |
child: Circle(), | |
), | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment