CameraHelper class Null safety

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Properties

controller → dynamic
read-only

Static Methods

findBestCamera({dynamic cameraLensDirection = CameraLensDirection.back}) → dynamic
Find the most relevant camera to use if none of these criteria are met, the default value of _cameraIndex will be used to select the first camera in the global cameras list. if non matching is found we fall back to the first in the list initValue of _cameraIndex/
init() Future<void>
Mandatory method to call before findBestCamera
initController(dynamic controller) → void
Init the controller And prevents the redefinition of it