Created
March 5, 2020 09:37
-
-
Save xinthink/273c2e989febb8d7cb6cbc649b409a44 to your computer and use it in GitHub Desktop.
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 Note extends ChangeNotifier { | |
... | |
/// Update specified properties and notify the listeners | |
void updateWith({ | |
String title, | |
String content, | |
Color color, | |
NoteState state, | |
}) { | |
... | |
notifyListeners(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment