new project stable version
This commit is contained in:
23
lib/presentation/event/auth_event.dart
Normal file
23
lib/presentation/event/auth_event.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
abstract class PhoneAuthEvent {}
|
||||
|
||||
class PhoneAuthStarted extends PhoneAuthEvent {}
|
||||
|
||||
class PhoneChanged extends PhoneAuthEvent {
|
||||
final String phone;
|
||||
|
||||
PhoneChanged(this.phone);
|
||||
}
|
||||
|
||||
class IsAdultChanged extends PhoneAuthEvent {
|
||||
final bool isAdult;
|
||||
|
||||
IsAdultChanged(this.isAdult);
|
||||
}
|
||||
|
||||
class PrivacyAcceptedChanged extends PhoneAuthEvent {
|
||||
final bool accepted;
|
||||
|
||||
PrivacyAcceptedChanged(this.accepted);
|
||||
}
|
||||
|
||||
class SubmitPhonePressed extends PhoneAuthEvent {}
|
||||
Reference in New Issue
Block a user