constants top-level property

Map<String, dynamic> constants
final

Implementation

final Map<String,dynamic> constants = {
  'Handedness': {
    'NONE': 'none',
    'LEFT': 'left',
    'RIGHT': 'right'
  },
  'ComponentState': {
    'DEFAULT': 'default',
    'TOUCHED': 'touched',
    'PRESSED': 'pressed'
  },
  'ComponentProperty': {
    'BUTTON': 'button',
    'X_AXIS': 'xAxis',
    'Y_AXIS': 'yAxis',
    'STATE': 'state'
  },
  'ComponentType': {
    'TRIGGER': 'trigger',
    'SQUEEZE': 'squeeze',
    'TOUCHPAD': 'touchpad',
    'THUMBSTICK': 'thumbstick',
    'BUTTON': 'button'
  },
  'ButtonTouchThreshold': 0.05,
  'AxisTouchThreshold': 0.1,
  'VisualResponseProperty': {
    'TRANSFORM': 'transform',
    'VISIBILITY': 'visibility'
  }
};