SlideSize class

Provides an option to set the slide resolution in the PresentationWidget.

This class provides a few constant sizes used widely: standardSmall, standardBig, widescreenSmall, widescreenBig, widescreenOldSmall and widescreenOldBig.

Also set a custom size using the SlideSize constructor

Constructors

SlideSize({required int width, required int height})
creates an object which is utilized by PresentationWidget to determine the size of a SlideWidget while presenting.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
get the height of the preferred slide size
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
get the width of the preferred slide size
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

standardBig → const SlideSize
4:3 aspect ratio; 1024 x 768 pixels
standardSmall → const SlideSize
4:3 aspect ratio; 960 x 720 pixels
widescreenBig → const SlideSize
16:9 aspect ratio; 1920 x 1080 pixels (default)
widescreenOldBig → const SlideSize
16:10 aspect ratio; 1920 x 1200 pixels
widescreenOldSmall → const SlideSize
16:10 aspect ratio; 960 x 600 pixels
widescreenSmall → const SlideSize
16:9 aspect ratio; 960 x 540 pixels