change colors to colorsmanager

This commit is contained in:
hannathkadher
2024-11-27 20:26:26 +04:00
parent dafe90237f
commit 448e798da1

View File

@ -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,
), ),