Skip to content

Instantly share code, notes, and snippets.

@sendbird-community
Created January 10, 2022 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sendbird-community/4281dea783db4f2a45c421278e9f40d8 to your computer and use it in GitHub Desktop.
Save sendbird-community/4281dea783db4f2a45c421278e9f40d8 to your computer and use it in GitHub Desktop.
Chat Triggered Effects - ConfettiSFX ui override
@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