setCursorByName method

void setCursorByName(
  1. String name
)

Implementation

void setCursorByName(String name){
  final body = html.document.body;
  if (body == null) return;
  body.style.cursor = name;
  print("body.style.cursor: ${body.style.cursor}");
}