hwFontResourcePrefix function

String hwFontResourcePrefix(
  1. String widgetSnakeName
)

The namespace the icon font resources generated for the widget named widgetSnakeName live under.

Threaded into decoding as fontResourcePrefix so a widget's resource names are known by the time any code is emitted, exactly like the string resource prefix behind a constant translation.

Implementation

String hwFontResourcePrefix(String widgetSnakeName) =>
    'hw_font_$widgetSnakeName';