AiutaTheme class

Theme configuration.

You can provide your own custom theme by creating a custom AiutaTheme providing your own fonts, colors, shapes, icons, etc.

Annotations
  • @JsonSerializable()

Constructors

AiutaTheme({AiutaColors? colors, AiutaGradients? gradients, AiutaTypography? typography, AiutaIcons? icons, AiutaShapes? shapes, AiutaDimensions? dimensions, AiutaWatermark? watermark, AiutaImages? images, AiutaThemeToggles? toggles})
Creates a new AiutaTheme instance.
AiutaTheme.fromJson(Map<String, dynamic> json)
Creates a new AiutaTheme instance from a JSON object.
factory

Properties

colors AiutaColors?
Colors configuration.
final
dimensions AiutaDimensions?
Dimensions configuration.
final
gradients AiutaGradients?
Gradients configuration.
final
hashCode int
The hash code for this object.
no setterinherited
icons AiutaIcons?
Icons configuration.
final
images AiutaImages?
Images configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapes AiutaShapes?
Shapes configuration.
final
toggles AiutaThemeToggles?
Toggles some features of the Aiuta SDK appearance.
final
typography AiutaTypography?
Typography configuration.
final
watermark AiutaWatermark?
Watermark configuration. Watermark is a small logo that will be embedded on the bottom right corner of generated images when user shares them.
final

Methods

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

Operators

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