AmbientLight class
Constructors
- AmbientLight.new({bool frontCamera = false})
Properties
-
ambientLightStream
→ Stream<
double> -
Returns a stream of ambient light in lux.
no setter
- frontCamera → bool
-
if frontCamera is true, the front camera will be used.
Important: frontCamera is only available on iOS.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
currentAmbientLight(
) → Future< double?> - Returns the current ambient light in lux.
-
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