buildCheckIcon method Null safety
- {bool isChecked = false}
Implementation
Center buildCheckIcon({bool isChecked = false}) {
return Center(
child: Icon(
Icons.check,
size: 24,
color: isChecked ? StyleMyFile.checkBoxIconColorActive : StyleMyFile.checkBoxIconColorNotActive,
),
);
}