AppFlowy/app_flowy/lib/home/application/home_event.dart

16 lines
494 B
Dart
Raw Normal View History

2021-06-19 15:41:19 +00:00
part of 'home_bloc.dart';
@freezed
abstract class HomeEvent with _$HomeEvent {
const factory HomeEvent.showLoading(bool isLoading) = _ShowLoading;
2021-07-20 15:51:08 +00:00
const factory HomeEvent.forceCollapse(bool forceCollapse) = _ForceCollapse;
2021-06-19 15:41:19 +00:00
//page
const factory HomeEvent.setPage(PageContext context) = SetCurrentPage;
//edit pannel
const factory HomeEvent.setEditPannel(EditPannelContext editContext) =
_ShowEditPannel;
const factory HomeEvent.dismissEditPannel() = _DismissEditPannel;
}