AiutaShareFeature class

Share feature adds the ability to share generated images from the SDK using the native share dialog.

Annotations
  • @JsonSerializable()

Constructors

AiutaShareFeature.new({AiutaShareWatermarkFeature? watermark, required AiutaShareIcons icons, required AiutaShareStrings strings, AiutaShareDataProvider? dataProvider})
Creates an AiutaShareFeature with optional watermark to be added to the shared images, icons and strings for the share feature, and optional dataProvider for additional text to be shared.
AiutaShareFeature.builtIn()
Creates a built-in share feature configuration with default settings.
factory
AiutaShareFeature.fromJson(Map<String, dynamic> json)
factory

Properties

dataProvider AiutaShareDataProvider?
The optional data provider for the share feature to provide additional text to be shared along with the generated images.
final
hashCode int
The hash code for this object.
no setterinherited
icons AiutaShareIcons
Icons used in the share feature.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings AiutaShareStrings
Strings used in the share feature.
final
watermark AiutaShareWatermarkFeature?
Watermark feature (nullable). This feature is used to add a watermark to the shared images. If not provided, no watermark will be added.
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