Skip to content

Instantly share code, notes, and snippets.

@felangel
Last active October 9, 2018 04:26
Show Gist options
  • Save felangel/58ae4be3c9cd1b60e04252392156ad51 to your computer and use it in GitHub Desktop.
Save felangel/58ae4be3c9cd1b60e04252392156ad51 to your computer and use it in GitHub Desktop.
[bloc_package] LoginEvent
abstract class LoginEvent {}
class LoginButtonPressed extends LoginEvent {
final String username;
final String password;
LoginButtonPressed({@required this.username, @required this.password});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment