CPButton class
An image button backed by CarPlay's CPButton, distinct from CPTextButton. Voice state action buttons require iOS 26.4 and an SDK containing that API.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String
-
A Flutter image asset, file URL or remote image URL. Asset SVGs are rasterized.
final
- isEnabled → bool
-
final
- onPress → VoidCallback
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- uniqueId → String
-
final
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