parseFillRule method

PathFillType? parseFillRule([
  1. String attr = 'fill-rule',
  2. String? def = 'nonzero'
])

Parses a fill-rule attribute into a PathFillType.

Implementation

PathFillType? parseFillRule([
  String attr = 'fill-rule',
  String? def = 'nonzero',
]) {
  final String? rawFillRule = getAttribute(attributes, attr, def: def);
  return parseRawFillRule(rawFillRule);
}