mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 21:34:54 +00:00
initialized Application theme
This commit is contained in:
9
lib/features/dashboard/bloc/dashboard_cubit.dart
Normal file
9
lib/features/dashboard/bloc/dashboard_cubit.dart
Normal file
@ -0,0 +1,9 @@
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
|
||||
part 'dashboard_state.dart';
|
||||
|
||||
class DashboardCubit extends Cubit<DashboardState> {
|
||||
DashboardCubit() : super(DashboardInitial());
|
||||
|
||||
static DashboardCubit of(context) => BlocProvider.of<DashboardCubit>(context);
|
||||
}
|
||||
Reference in New Issue
Block a user