mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
16 lines
494 B
Dart
16 lines
494 B
Dart
part of 'home_bloc.dart';
|
|
|
|
@freezed
|
|
abstract class HomeEvent with _$HomeEvent {
|
|
const factory HomeEvent.showLoading(bool isLoading) = _ShowLoading;
|
|
const factory HomeEvent.forceCollapse(bool forceCollapse) = _ForceCollapse;
|
|
|
|
//page
|
|
const factory HomeEvent.setPage(PageContext context) = SetCurrentPage;
|
|
|
|
//edit pannel
|
|
const factory HomeEvent.setEditPannel(EditPannelContext editContext) =
|
|
_ShowEditPannel;
|
|
const factory HomeEvent.dismissEditPannel() = _DismissEditPannel;
|
|
}
|