AAPaneAction constructor

AAPaneAction({
  1. required String title,
  2. String? imageUrl,
  3. AutoImageTint? imageTint,
  4. bool isPrimary = false,
  5. dynamic onPress()?,
  6. 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();