olshab
1a863ee7f7
added navigation bar renamed "like" to "favourite" made cards list into separate widget
22 lines
455 B
Dart
22 lines
455 B
Dart
import 'package:copy_with_extension/copy_with_extension.dart';
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
part 'favourites_state.g.dart';
|
|
|
|
@CopyWith()
|
|
class FavouritesState extends Equatable {
|
|
final List<String>? favouritesIds;
|
|
final bool hasFavouritesLoaded;
|
|
|
|
const FavouritesState({
|
|
this.favouritesIds,
|
|
this.hasFavouritesLoaded = false,
|
|
});
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
favouritesIds,
|
|
hasFavouritesLoaded,
|
|
];
|
|
}
|