mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 23:37:55 +00:00
initialized Application theme
This commit is contained in:
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
part of 'dashboard_cubit.dart';
|
||||
|
||||
abstract class DashboardState {}
|
||||
|
||||
class DashboardInitial extends DashboardState {}
|
||||
@@ -0,0 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DashboardView extends StatelessWidget {
|
||||
const DashboardView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const Placeholder();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user