mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
31 lines
839 B
Dart
31 lines
839 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_bloc/flutter_bloc.dart';
|
|
import 'package:syncrow_web/pages/home/bloc/home_bloc.dart';
|
|
import 'package:syncrow_web/pages/home/view/tree_page.dart';
|
|
import 'package:syncrow_web/utils/style.dart';
|
|
import 'package:syncrow_web/web_layout/web_scaffold.dart';
|
|
|
|
class HomePage extends StatelessWidget {
|
|
const HomePage({super.key});
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return WebScaffold(
|
|
appBarTitle: 'Space Management',
|
|
appBarBody:[
|
|
Text(
|
|
'Community structure',
|
|
style: appBarTextStyle,
|
|
),
|
|
Text(
|
|
'Community ',
|
|
style: appBarTextStyle
|
|
),
|
|
],
|
|
scaffoldBody: BlocProvider(
|
|
create: (context) => HomeBloc(),
|
|
child: const TreeWidget(),
|
|
),
|
|
);
|
|
}
|
|
}
|