mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
change colors to colorsmanager
This commit is contained in:
@ -85,7 +85,7 @@ class CustomExpansionTileState extends State<CustomExpansionTile> {
|
|||||||
},
|
},
|
||||||
child: Icon(
|
child: Icon(
|
||||||
_isExpanded ? Icons.keyboard_arrow_down : Icons.keyboard_arrow_right,
|
_isExpanded ? Icons.keyboard_arrow_down : Icons.keyboard_arrow_right,
|
||||||
color: Colors.grey,
|
color: ColorsManager.lightGrayColor,
|
||||||
size: 16.0, // Adjusted size for better alignment
|
size: 16.0, // Adjusted size for better alignment
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -101,7 +101,7 @@ class CustomExpansionTileState extends State<CustomExpansionTile> {
|
|||||||
_capitalizeFirstLetter(widget.title),
|
_capitalizeFirstLetter(widget.title),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: widget.isSelected
|
color: widget.isSelected
|
||||||
? Colors.black // Change color to black when selected
|
? ColorsManager.blackColor // Change color to black when selected
|
||||||
: ColorsManager.lightGrayColor, // Gray when not selected
|
: ColorsManager.lightGrayColor, // Gray when not selected
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user