screenTip property

String? screenTip
getter/setter pair

Represents tooltip String.

final Workbook workbook = Workbook();
final Worksheet sheet = workbook.worksheets[0];
final Range range = sheet.getRangeByName('A1');

// Add hyperlink to sheet.
final Hyperlink link = sheet.hyperlinks
   .add(range, HyperlinkType.url, 'http://www.syncfusion.com');
// set screen tip.
link.screenTip = 'Click Here to know about Syncfusion';
// set text to display.
link.textToDisplay = 'Syncfusion';

//Save and dispose.
List<int> bytes = workbook.saveAsStream();
File('Hyperlinks.xlsx').writeAsBytes(bytes);
workbook.dispose();

Implementation

String? screenTip;