Created
December 14, 2019 06:02
-
-
Save juliuscanute/8cd21142a705e51f6872f05584a1456f to your computer and use it in GitHub Desktop.
Pass data actions
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
| class NavigateToCreateEmotion { | |
| final String emoji; | |
| final String emotion; | |
| const NavigateToCreateEmotion({this.emoji, this.emotion}); | |
| } | |
| class SaveEmotion { | |
| final String emotion; | |
| final String emotionDescription; | |
| const SaveEmotion({this.emotion, this.emotionDescription}); | |
| } | |
| class LoadedEmotions { | |
| final List<SavedDetail> details; | |
| const LoadedEmotions({this.details}); | |
| } | |
| class ViewEmotion { | |
| final int index; | |
| const ViewEmotion({this.index}); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment