CustomMinimumContrastGuideline constructor
Creates a custom guideline which verifies that all elements specified by finder meet minimum contrast levels.
An optional description string can be given using the description
parameter.
Implementation
const CustomMinimumContrastGuideline({
required this.finder,
this.minimumRatio = 4.5,
this.tolerance = 0.01,
String description = 'Contrast should follow custom guidelines',
}) : _description = description;