dvStudioPlainFieldName function
What a field of an element is called for somebody who has never written
code: the formula bar lists fields by these, where it listed fontSize
and crossAxis.
Implementation
String dvStudioPlainFieldName(String name) =>
_dvStudioPlainNames[name] ??
_dvStudioLabels[name] ??
// `borderTopWidth` reads as "Border top width".
name
.replaceAllMapped(RegExp('([a-z0-9])([A-Z])'),
(Match m) => '${m[1]} ${(m[2] ?? '').toLowerCase()}')
.replaceFirstMapped(RegExp('^.'), (Match m) => (m[0] ?? '').toUpperCase());