LayoutController constructor

LayoutController({
  1. required Uint8List? imageHeader,
  2. required Uint8List? imageFooter,
})

Creates a LayoutController instance.

The imageHeader and imageFooter parameters are optional images that can be displayed in the header or footer sections of the receipt.

Implementation

LayoutController({required this.imageHeader, required this.imageFooter});