changed subspace label

This commit is contained in:
hannathkadher
2025-01-23 10:18:20 +04:00
parent 65d00c923a
commit 24f7ab6af8

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:syncrow_web/utils/color_manager.dart';
class SubspaceNameDisplayWidget extends StatelessWidget { class SubspaceNameDisplayWidget extends StatelessWidget {
final String text; final String text;
@ -12,8 +13,8 @@ class SubspaceNameDisplayWidget extends StatelessWidget {
Key? key, Key? key,
required this.text, required this.text,
this.textStyle, this.textStyle,
this.backgroundColor = Colors.white, this.backgroundColor = ColorsManager.whiteColors,
this.borderColor = Colors.transparent, this.borderColor = ColorsManager.transparentColor,
this.padding = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0), this.padding = const EdgeInsets.symmetric(horizontal: 8.0, vertical: 4.0),
this.borderRadius = const BorderRadius.all(Radius.circular(10)), this.borderRadius = const BorderRadius.all(Radius.circular(10)),
}) : super(key: key); }) : super(key: key);
@ -33,7 +34,7 @@ class SubspaceNameDisplayWidget extends StatelessWidget {
Theme.of(context) Theme.of(context)
.textTheme .textTheme
.bodySmall .bodySmall
?.copyWith(color: Colors.black), ?.copyWith(color: ColorsManager.spaceColor),
), ),
); );
} }