mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
SP-1189-FE-Add-Button-Not-clickable-Opening-Pop-up-in-Community-Screen
This commit is contained in:
@ -5,13 +5,15 @@ import 'package:syncrow_web/utils/extension/build_context_x.dart';
|
||||
import 'package:syncrow_web/utils/style.dart';
|
||||
|
||||
class SidebarHeader extends StatelessWidget {
|
||||
const SidebarHeader({super.key});
|
||||
const SidebarHeader({required this.existingCommunityNames, super.key});
|
||||
|
||||
final List<String> existingCommunityNames;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
decoration: subSectionContainerDecoration,
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
@ -21,7 +23,7 @@ class SidebarHeader extends StatelessWidget {
|
||||
color: ColorsManager.blackColor,
|
||||
),
|
||||
),
|
||||
const SidebarAddCommunityButton(),
|
||||
SidebarAddCommunityButton(existingCommunityNames: existingCommunityNames),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user