has property
bool
get
has
Whether the component is themed: it has properties, or follows a shape token the theme changed.
Implementation
bool get has => _prefix.isNotEmpty
? properties
.children('$root.${_prefix.substring(0, _prefix.length - 1)}')
.isNotEmpty
: properties.children(root).isNotEmpty ||
(shapeToken != null && theme.shapes.containsKey(shapeToken));