Skip to content

Instantly share code, notes, and snippets.

@felangel
Last active October 19, 2019 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felangel/5c9a5f4cc79cef7dbe4a3c979b446b4d to your computer and use it in GitHub Desktop.
Save felangel/5c9a5f4cc79cef7dbe4a3c979b446b4d to your computer and use it in GitHub Desktop.
[flutter_login] Authentication State
import 'package:equatable/equatable.dart';
abstract class AuthenticationState extends Equatable {
@override
List<Object> get props => [];
}
class AuthenticationUninitialized extends AuthenticationState {}
class AuthenticationAuthenticated extends AuthenticationState {}
class AuthenticationUnauthenticated extends AuthenticationState {}
class AuthenticationLoading extends AuthenticationState {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment