EasyCamera class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Properties
-
cameras
→ List<
CameraDescription> -
Returns the list of available cameras.
no setter
- printLogs → bool
-
Returns whether debug logging is enabled.
no setter
Static Methods
-
cameraView(
{required CameraConfig config, required void onCapture(XFile?)}) → Widget -
Wraps
EasyCameraWidget
inside aScaffold
-
initialize(
{bool printLogs = false}) → Future< void> - Initializes the camera by fetching the list of available cameras.