CameraDetailsBuilder class

A ValueBuilder view model to modify a CameraDetails.

Inheritance

Constructors

CameraDetailsBuilder(CameraDetails data)
Creates a ValueBuilder view model to change a CameraDetails.

Properties

autofocus ↔ bool
Current status of the camera's autofocus
getter/setter pair
error ↔ String?
The error that occurred when changing these settings, if any.
getter/setter pair
fps NumberBuilder<int>
How many frames per second to capture. See CameraDetails.fps.
final
hashCode → int
The hash code for this object.
no setterinherited
hasListeners → bool
Whether any listeners are currently registered.
no setterinherited
isLoading ↔ bool
Whether changes are loading.
getter/setter pair
isValid → bool
Whether the value in the UI is valid.
no setteroverride
name CameraName
The name of this camera.
final
otherBuilders → List<ValueBuilder>
Other builders to listen to.
no setteroverride
quality NumberBuilder<int>
The quality of the camera, as a percentage. See CameraDetails.quality.
final
resolutionHeight NumberBuilder<int>
The camera resolution's height. See CameraDetails.resolutionHeight.
final
resolutionWidth NumberBuilder<int>
The camera resolution's width. See CameraDetails.resolutionWidth.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status CameraStatus
The camera's status.
getter/setter pair
value CameraDetails
The value being updated in the UI.
no setteroverride

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
saveSettings(String id) → Future<bool>
Saves these settings to the rover and updates the UI.
toString() → String
A string representation of this object.
inherited
updateStatus(CameraStatus? input) → void
Updates the status field.

Operators

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

Constants

okStatuses → const List<CameraStatus>
Statuses the user can set the camera to.