LightSettings class

Represents settings to control notification LED that can be included in AndroidNotification.

Constructors

LightSettings({required ({double? alpha, double? blue, double? green, double? red}) color, required String lightOnDurationMillis, required String lightOffDurationMillis})
Represents settings to control notification LED that can be included in AndroidNotification.

Properties

color → ({double? alpha, double? blue, double? green, double? red})
Required. Sets color of the LED in #rrggbb or #rrggbbaa format.
final
hashCode int
The hash code for this object.
no setterinherited
lightOffDurationMillis String
Required. Along with light_on_duration, defines the blink rate of LED flashes.
final
lightOnDurationMillis String
Required. Along with light_off_duration, defines the blink rate of LED flashes.
final
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