mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
changed subspace label
This commit is contained in:
@ -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),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user