Skip to content

Instantly share code, notes, and snippets.

@aniekan12
Created November 9, 2022 17:23
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 aniekan12/d3ba48365119ccc8cd172ab455b62e4e to your computer and use it in GitHub Desktop.
Save aniekan12/d3ba48365119ccc8cd172ab455b62e4e to your computer and use it in GitHub Desktop.
part of 'shopping_home_bloc.dart';
@immutable
abstract class ShoppingHomeState {}
class ShoppingHomeInitial extends ShoppingHomeState {}
class ShoppingHomeLoading extends ShoppingHomeState {}
class ShoppingHomeLoaded extends ShoppingHomeState {
final List<ShoppingHomeModel> shoppingHomeModel;
ShoppingHomeLoaded({required this.shoppingHomeModel});
}
class ShoppingHomeError extends ShoppingHomeState {
final String message;
ShoppingHomeError({required this.message});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment