AAPaneAction constructor
AAPaneAction({
- required String title,
- String? imageUrl,
- AutoImageTint? imageTint,
- bool isPrimary = false,
- dynamic onPress()?,
- String? id,
Implementation
AAPaneAction({
required this.title,
this.imageUrl,
this.imageTint,
this.isPrimary = false,
this.onPress,
String? id,
}) : assert(title.isNotEmpty, 'AAPaneAction.title cannot be empty'),
_elementId = id ?? const Uuid().v4();