Merge branch 'wala_plus_with_dialog_removal' of http://34.17.182.140/Haroon6138/mohemm-flutter-app into wala_plus_with_dialog_removal

* 'wala_plus_with_dialog_removal' of http://34.17.182.140/Haroon6138/mohemm-flutter-app:
  chip color change
wala_plus_with_dialog_removal
Sultan khan 2 weeks ago
commit 49d46dada2

@ -1007,15 +1007,15 @@ class _DashboardScreenForDependetState extends State<DashboardScreenForDependet>
alignment: Alignment.center,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(8),
color: isSelected ? darkBg : MyColors.lightGreyEAColor,
border: Border.all(color: isSelected ? darkBg : MyColors.lightGreyEAColor),
color: isSelected ? MyColors.lightGreyEAColor : Colors.white,
border: Border.all(color: isSelected ? MyColors.lightGreyEAColor : borderColor),
),
child: Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
if (icon != null) ...<Widget>[Icon(icon, size: 14, color: isSelected ? Colors.white : MyColors.black), const SizedBox(width: 5)],
Flexible(child: label.toText13(isBold: true, color: isSelected ? Colors.white : MyColors.black, maxlines: 1)),
if (isSelected) ...<Widget>[const SizedBox(width: 5), const Icon(Icons.check, size: 14, color: Colors.white)],
if (icon != null) ...<Widget>[Icon(icon, size: 14, color: isSelected ? MyColors.black : const Color(0xFF64748B)), const SizedBox(width: 5)],
Flexible(child: label.toText13(isBold: true, color: isSelected ? MyColors.black : darkBg, maxlines: 1)),
if (isSelected) ...<Widget>[const SizedBox(width: 5), const Icon(Icons.check, size: 14, color: MyColors.black)],
],
),
),

Loading…
Cancel
Save