String getCursorStyle(String cursorName)

Source

static String getCursorStyle(String cursorName) {

  String style = cursorName;

  if (_cursorDatas.containsKey(cursorName)) {
    var cursorData = _cursorDatas[cursorName];
    var cursorDataUrl = cursorData.url;
    var cursorDataX = cursorData.hotSpot.x;
    var cursorDataY = cursorData.hotSpot.y;
    style = "url('$cursorDataUrl') $cursorDataX $cursorDataY, $style";
  }

  return _cursorHidden ? "none" : style;
}