menu
livelyness_detection package
documentation
index.dart
PreviewSize class
PreviewSize class
dark_mode
light_mode
PreviewSize
class
Constructors
PreviewSize
({
required
double
width
,
required
double
height
})
Properties
hashCode
→
int
The hash code for this object.
no setter
inherited
height
↔
double
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
width
↔
double
getter/setter pair
Methods
encode
(
)
→
Object
inverted
(
)
→ dynamic
Returns a new
PreviewSize
with
width
and
height
inverted. Useful when the preview size is given in portrait mode but the camera is in landscape mode. Ex : for tablets, the preview size is given in landscape mode but the device is in portrait mode.
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toSize
(
)
→
Size
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
Static Methods
decode
(
Object
result
)
→
PreviewSize
livelyness_detection package
documentation
index
PreviewSize class
index library