NotificationSettings class
- Annotations
Constructors
- NotificationSettings.new({bool playPauseEnabled = true, bool nextEnabled = true, bool prevEnabled = true, bool stopEnabled = true, bool seekBarEnabled = true, NotificationAction? customNextAction, NotificationAction? customPlayPauseAction, NotificationAction? customPrevAction, NotificationAction? customStopAction, AndroidResDrawable? customNextIcon, AndroidResDrawable? customPauseIcon, AndroidResDrawable? customPlayIcon, AndroidResDrawable? customPreviousIcon, AndroidResDrawable? customStopIcon, AndroidResDrawable? customPrevIcon})
-
const
Properties
- customNextAction → NotificationAction?
-
null for default behavior
final
- customNextIcon → AndroidResDrawable?
-
final
- customPauseIcon → AndroidResDrawable?
-
final
- customPlayIcon → AndroidResDrawable?
-
final
- customPlayPauseAction → NotificationAction?
-
null for default behavior
final
- customPrevAction → NotificationAction?
-
null for default behavior
final
- customPrevIcon → AndroidResDrawable?
-
final
- customPreviousIcon → AndroidResDrawable?
-
final
- customStopAction → NotificationAction?
-
null for default behavior
final
- customStopIcon → AndroidResDrawable?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextEnabled → bool
-
both android & ios
final
- playPauseEnabled → bool
-
both android & ios
final
- prevEnabled → bool
-
both android & ios
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seekBarEnabled → bool
-
both android & ios
final
- stopEnabled → bool
-
android only
final
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