AAAlertAction class

An action that can be performed from an AAAlertTemplate on Android Auto.

Constructors

AAAlertAction({required String title, AAAlertActionStyle style = AAAlertActionStyle.normal, required dynamic onPress(), String? id})

Properties

hashCode int
The hash code for this object.
no setterinherited
onPress → dynamic Function()
Called when the user taps this action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style AAAlertActionStyle
Visual style hint for the button.
final
title String
The button label.
final
uniqueId String
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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