mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 18:07:55 +00:00
initialized Application theme
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:syncrow_app/features/smart/bloc/smart_cubit.dart';
|
||||
|
||||
class SmartPage extends StatelessWidget {
|
||||
const SmartPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return BlocProvider(
|
||||
create: (context) => SmartCubit(),
|
||||
child: BlocBuilder<SmartCubit, SmartState>(
|
||||
builder: (context, state) {
|
||||
return const Center(
|
||||
child: Text('Smart Page'),
|
||||
);
|
||||
},
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user