chnaged selected colour from red to blue accent
This commit is contained in:
parent
c9882879ff
commit
fa767ea201
@ -360,11 +360,11 @@ class _EmployeesScreenState extends State<EmployeesScreen> with UIMixin {
|
|||||||
value: _employeeController.isAllEmployeeSelected.value,
|
value: _employeeController.isAllEmployeeSelected.value,
|
||||||
onChanged: (_) => Navigator.pop(context, 'all_employees'),
|
onChanged: (_) => Navigator.pop(context, 'all_employees'),
|
||||||
checkColor: Colors.white,
|
checkColor: Colors.white,
|
||||||
activeColor: Colors.red,
|
activeColor: Colors.blueAccent,
|
||||||
side: const BorderSide(color: Colors.black, width: 1.5),
|
side: const BorderSide(color: Colors.black, width: 1.5),
|
||||||
fillColor: MaterialStateProperty.resolveWith<Color>(
|
fillColor: MaterialStateProperty.resolveWith<Color>(
|
||||||
(states) => states.contains(MaterialState.selected)
|
(states) => states.contains(MaterialState.selected)
|
||||||
? Colors.red
|
? Colors.blueAccent
|
||||||
: Colors.white),
|
: Colors.white),
|
||||||
),
|
),
|
||||||
const Text('All Employees'),
|
const Text('All Employees'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user