aves/lib/widgets/viewer/info/notifications.dart

20 lines
542 B
Dart

import 'package:aves/model/entry.dart';
import 'package:aves/model/filters/filters.dart';
import 'package:flutter/widgets.dart';
class ShowImageNotification extends Notification {}
class ShowInfoNotification extends Notification {}
class FilterSelectedNotification extends Notification {
final CollectionFilter filter;
const FilterSelectedNotification(this.filter);
}
// deleted or moved to another album
class EntryRemovedNotification extends Notification {
final AvesEntry entry;
const EntryRemovedNotification(this.entry);
}