rotation property
Gets/Sets the image rotation.
Workbook workbook = new Workbook();
Worksheet sheet = workbook.worksheets[0];
List<int> bytes = File('image.png').readAsBytesSync();
Picture picture = sheet.picutes.addStream(1, 1, bytes);
picture.rotation = 30;
List<int> bytes = workbook.saveAsStream();
File('Picutes.xlsx').writeAsBytes(bytes);
workbook.dispose();
Implementation
int rotation = 0;