horizontalFlip property

bool horizontalFlip
getter/setter pair

Gets/Sets the image horizontal flip.

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.horizontalFlip = true;
List<int> bytes = workbook.saveAsStream();
File('Picutes.xlsx').writeAsBytes(bytes);
workbook.dispose();

Implementation

bool horizontalFlip = false;