aves_mio/lib/model/source/section_keys.dart
Fabio Micheluz 2c988f959b
Some checks are pending
Quality check / Flutter analysis (push) Waiting to run
Quality check / CodeQL analysis (java-kotlin) (push) Waiting to run
first commit
2026-02-19 13:25:23 +01:00

34 lines
714 B
Dart

import 'package:equatable/equatable.dart';
import 'package:flutter/foundation.dart';
@immutable
class SectionKey {
const SectionKey();
}
class EntryAlbumSectionKey extends SectionKey with EquatableMixin {
final String? directory;
@override
List<Object?> get props => [directory];
const EntryAlbumSectionKey(this.directory);
}
class EntryDateSectionKey extends SectionKey with EquatableMixin {
final DateTime? date;
@override
List<Object?> get props => [date];
const EntryDateSectionKey(this.date);
}
class EntryRatingSectionKey extends SectionKey with EquatableMixin {
final int rating;
@override
List<Object?> get props => [rating];
const EntryRatingSectionKey(this.rating);
}