23 lines
585 B
Dart
23 lines
585 B
Dart
import 'package:aves/model/entry.dart';
|
|
import 'package:aves/model/filters/filters.dart';
|
|
import 'package:flutter/foundation.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class BackUpNotification extends Notification {}
|
|
|
|
class FilterNotification extends Notification {
|
|
final CollectionFilter filter;
|
|
|
|
const FilterNotification(this.filter);
|
|
}
|
|
|
|
class OpenTempEntryNotification extends Notification {
|
|
final AvesEntry entry;
|
|
|
|
const OpenTempEntryNotification({
|
|
@required this.entry,
|
|
});
|
|
|
|
@override
|
|
String toString() => '$runtimeType#${shortHash(this)}{entry=$entry}';
|
|
}
|