MovaFallbackBrightness class
A zero-dependency IMovaBrightness fallback that always reports full brightness and silently ignores writes.
零依赖的 IMovaBrightness 兜底实现:始终报告最大亮度,写入操作静默忽略。
- Implemented types
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
-
get(
) → Future< double> -
Reads the current brightness as a value in
[0.0, 1.0].override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
double value) → Future< void> -
Sets the brightness to
value, a value in[0.0, 1.0].override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited