dvHomeWidgetIsClass function
Whether match declared a widget class rather than a widget function.
The two are generated differently and cannot be told apart afterwards: a function is lowered into a widget class the generator writes and owns, and a class is the developer's own, referenced where it already lives.
Implementation
bool dvHomeWidgetIsClass(RegExpMatch match) =>
match.namedGroup('widgetClass') != null;