Created
January 10, 2022 18:25
-
-
Save sendbird-community/4281dea783db4f2a45c421278e9f40d8 to your computer and use it in GitHub Desktop.
Chat Triggered Effects - ConfettiSFX ui override
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
@override | |
ui() { | |
return Align( | |
alignment: Alignment.topCenter, | |
child: ConfettiWidget( | |
confettiController: _confettiController, | |
blastDirectionality: BlastDirectionality | |
.explosive, | |
shouldLoop: false, | |
colors: const [ | |
Colors.green, | |
Colors.blue, | |
Colors.pink, | |
Colors.orange, | |
Colors.purple | |
], | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment