features library Null safety

The features framework.

Contains a module for each app feature.

Classes

Address
An address for a location.
AddressFromModel
Mapper for creating an Address entity from model.
AddressModel
A model for an address.
Album
A photo album shared by a user.
AlbumCubit
The cubit for keeping the state of a single Album object.
AlbumDataSource
The data source interface for handling album models.
AlbumFromModel
Mapper for creating an Album entity from model.
AlbumId
The id of an album.
AlbumModel
Model for a photo album.
AlbumRepository
The repository interface for handling photo albums.
AlbumRepositoryImpl
The implementation for the album repository.
AlbumRestDataSource
REST implementation of the album data source.
AlbumsCubit
The cubit for keeping the state of a list of Album objects.
AlbumsState
The cubit state for a list of albums.
AlbumState
The cubit state for a single album.
Company
A company that a user can be part of.
CompanyFromModel
Mapper for creating a Company entity from model.
CompanyModel
A model for a company.
GeoLocation
A geographic location.
GeoLocationFromModel
Mapper for creating a GeoLocation entity from model.
GeoLocationModel
A model for a geo location.
GetAlbum
A use case for getting a single album.
GetAlbumParams
Parameters for GetAlbum use case.
GetAlbumPhotos
A use case for getting all photos belonging to an album.
GetAlbumPhotosParams
Parameters for GetAlbumPhotos use case.
GetAllAlbums
A use case for getting all available photo albums.
GetAllPhotos
A use case for getting all available photos.
GetAllUsers
A use case for getting all available users.
GetPhoto
A use case for getting a single photo.
GetPhotoParams
Parameters for GetPhoto use case.
GetUser
A use case for getting a single user.
GetUserAlbums
A use case for getting all photos albums belonging to a user.
GetUserAlbumsParams
Parameters for GetUserAlbums use case.
GetUserParams
Parameters for GetUser use case.
HomeScreen
The screen with photo feed and stories.
Photo
A photo that is part of an album shared by a user.
PhotoCubit
The cubit for keeping the state of a single Photo object.
PhotoDataSource
The data source interface for handling photo models.
PhotoFromModel
Mapper for creating an Photo entity from model.
PhotoId
The id of an album photo.
PhotoLikeCubit
The cubit for keeping the state of the process of liking a Photo object.
PhotoLikeDataStorage
Interface for storing photo likes.
PhotoLikeDataStorageImpl
Shared preferences implementation of the photo like data storage.
PhotoLikeState
The cubit state for the process of liking a photo.
PhotoListItem
A list item for showing a photo with its details.
PhotoModel
A photo model that is part of an album.
PhotoRepository
The repository interface for handling photos.
PhotoRepositoryImpl
The implementation for the photo repository.
PhotoRestDataSource
REST implementation of the photo data source.
PhotosCubit
The cubit for keeping the state of a list of Photo objects.
PhotosState
The cubit state for a list of photos.
PhotoState
The cubit state for a single photo.
SetPhotoLike
A use case for liking or unliking a photo.
SetPhotoLikeParams
Parameters for SetPhotoLike use case.
User
A user in the application.
UserCubit
The cubit for keeping the state of a single User object.
UserDataSource
The data source interface for handling user models.
UserFromModel
Mapper for creating an User entity from model.
UserId
The id of a user.
UserModel
A model for a user.
UserProfileImage
A round user image.
UserRepository
The repository interface for handling users.
UserRepositoryImpl
The implementation for the user repository.
UserRestDataSource
REST implementation of the user data source.
UsersCubit
The cubit for keeping the state of a list of User objects.
UsersState
The cubit state for a list of users.
UserState
The cubit state for a single user.
UserStoriesListItem
A list item for showing a user story.