add blank space

This commit is contained in:
hannathkadher
2024-11-23 23:02:25 +04:00
parent 59d9a34c4e
commit 7806d3de7d
4 changed files with 98 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import 'package:syncrow_web/pages/spaces_management/model/selected_product_model
import 'package:syncrow_web/pages/spaces_management/model/space_model.dart';
import 'package:syncrow_web/pages/spaces_management/model/community_model.dart';
import 'package:syncrow_web/pages/spaces_management/model/connection_model.dart';
import 'package:syncrow_web/pages/spaces_management/widgets/blank_community_widget.dart';
import 'package:syncrow_web/pages/spaces_management/widgets/community_stricture_header_widget.dart';
import 'package:syncrow_web/pages/spaces_management/widgets/dialogs/create_space_dialog.dart';
import 'package:syncrow_web/pages/spaces_management/widgets/curved_line_painter.dart';
@ -92,6 +93,10 @@ class _CommunityStructureAreaState extends State<CommunityStructureArea> {
@override
Widget build(BuildContext context) {
if (widget.selectedCommunity == null) {
return BlankCommunityWidget();
}
Size screenSize = MediaQuery.of(context).size;
return Expanded(
child: GestureDetector(