From 24f7ab6af8677f2083719b168b683d94c7fef1ad Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Thu, 23 Jan 2025 10:18:20 +0400 Subject: [PATCH] changed subspace label --- .../space_model/widgets/subspace_name_label_widget.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart b/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart index fd3c90b6..a2920b89 100644 --- a/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart +++ b/lib/pages/spaces_management/space_model/widgets/subspace_name_label_widget.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:syncrow_web/utils/color_manager.dart'; class SubspaceNameDisplayWidget extends StatelessWidget { final String text; @@ -12,8 +13,8 @@ class SubspaceNameDisplayWidget extends StatelessWidget { Key? key, required this.text, this.textStyle, - this.backgroundColor = Colors.white, - this.borderColor = Colors.transparent, + this.backgroundColor = ColorsManager.whiteColors, + this.borderColor = ColorsManager.transparentColor, this.padding = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0), this.borderRadius = const BorderRadius.all(Radius.circular(10)), }) : super(key: key); @@ -33,7 +34,7 @@ class SubspaceNameDisplayWidget extends StatelessWidget { Theme.of(context) .textTheme .bodySmall - ?.copyWith(color: Colors.black), + ?.copyWith(color: ColorsManager.spaceColor), ), ); }