34 lines
687 B
Dart
Raw Normal View History

import 'package:flutter_android_app/components/locale/l10n/app_localizations.dart';
2024-12-12 00:08:22 +04:00
abstract class HomeEvent {
const HomeEvent();
}
class HomeLoadDataEvent extends HomeEvent {
final String? search;
final int? nextPage;
final AppLocale? locale;
final String currencyId;
2024-12-12 00:08:22 +04:00
const HomeLoadDataEvent({
this.search,
this.nextPage,
this.locale,
required this.currencyId,
});
2024-12-12 00:08:22 +04:00
}
class HomeLoadFavouritesDataEvent extends HomeEvent {
final List<String>? ids;
final int? nextPage;
final AppLocale? locale;
final String currencyId;
const HomeLoadFavouritesDataEvent({
this.ids,
this.nextPage,
this.locale,
required this.currencyId,
});
}