register method

void register(
  1. String tagName,
  2. String css
)

Registers CSS for a component tag.

Safe to call multiple times for the same tag; subsequent calls will overwrite the previous value (which should be identical).

Implementation

void register(String tagName, String css) {
  _styles[tagName] = css;
}