core constant

NotationVocabulary const core

The table a reader starts with: the two universal words a control has under its own name (disabled is a control's enabled=false, readonly an input's readOnly): one word on every line, a box's and a control's alike. The notation has one name for everything else; a caller's own words (a design system's, a dictionary's) are the caller's to give.

Implementation

static const core = NotationVocabulary(
  parameters: {
    '*': {'disabled': '!enabled', 'readonly': 'readOnly'},
  },
  flags: {
    '*': {'disabled': 'enabled=false', 'readonly': 'readOnly'},
  },
);