2024-10-06 00:37:40 +04:00
|
|
|
abstract class HomeEvent {
|
|
|
|
const HomeEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
class HomeLoadDataEvent extends HomeEvent {
|
|
|
|
final String? search;
|
|
|
|
final int? nextPage;
|
|
|
|
final bool? hasError;
|
|
|
|
|
|
|
|
const HomeLoadDataEvent({this.search, this.nextPage, this.hasError});
|
|
|
|
}
|
2024-10-06 01:52:11 +04:00
|
|
|
|
|
|
|
class HomeShowButtonToTopEvent extends HomeEvent {
|
|
|
|
final bool? isShown;
|
|
|
|
|
|
|
|
const HomeShowButtonToTopEvent({this.isShown});
|
|
|
|
}
|