Created
December 18, 2019 07:09
-
-
Save 5lineofcode/3615a6aa1e67588a92e2e21d155529be to your computer and use it in GitHub Desktop.
Account View Model
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
import 'package:flutter/material.dart'; | |
class AccountViewModel extends ChangeNotifier { | |
String message = ""; | |
onRegisterClick() { | |
message = "Your account has been Created"; | |
notifyListeners(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment