useCursor method

void useCursor({
  1. MouseCursor? base,
  2. MouseCursor? disabled,
  3. MouseCursor? dragged,
  4. MouseCursor? error,
  5. MouseCursor? focused,
  6. MouseCursor? hovered,
  7. MouseCursor? pressed,
  8. MouseCursor? scrolledUnder,
  9. MouseCursor? selected,
})

Implementation

void useCursor({
  MouseCursor? base,
  MouseCursor? disabled,
  MouseCursor? dragged,
  MouseCursor? error,
  MouseCursor? focused,
  MouseCursor? hovered,
  MouseCursor? pressed,
  MouseCursor? scrolledUnder,
  MouseCursor? selected,
}) =>
    mouseCursorState = NikuState(
      disabled: disabled,
      dragged: dragged,
      error: error,
      focused: focused,
      hovered: hovered,
      pressed: pressed,
      scrolledUnder: scrolledUnder,
      selected: selected,
      base: base,
    );