horizontal property
bool
get
horizontal
Is the print horizontal
Implementation
bool get horizontal => _pageFormat.width > _pageFormat.height;
set
horizontal
(bool value)
Implementation
set horizontal(bool value) {
final format = value ? _pageFormat.landscape : _pageFormat.portrait;
if (format != _pageFormat) {
_pageFormat = format;
notifyListeners();
}
}