BackgroundModel class

Constructors

BackgroundModel({PublicMediumModel? backgroundImage, bool? useProfilePhotoAsBackground, StartGradientPosition? beginGradientPosition, EndGradientPosition? endGradientPosition, ShadowModel? shadow, List<DecorationColorModel>? decorationColors, BorderRadiusModel? borderRadius, bool? border, EdgeInsetsGeometryModel? padding, EdgeInsetsGeometryModel? margin})

Properties

backgroundImage ↔ PublicMediumModel?
getter/setter pair
beginGradientPosition ↔ StartGradientPosition?
getter/setter pair
border ↔ bool?
getter/setter pair
borderRadius ↔ BorderRadiusModel?
getter/setter pair
decorationColors ↔ List<DecorationColorModel>?
getter/setter pair
endGradientPosition ↔ EndGradientPosition?
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
margin ↔ EdgeInsetsGeometryModel?
getter/setter pair
padding ↔ EdgeInsetsGeometryModel?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadow ↔ ShadowModel?
getter/setter pair
useProfilePhotoAsBackground ↔ bool?
getter/setter pair

Methods

collectReferences({String? appId}) → Future<List<ModelReference>>
copyWith({PublicMediumModel? backgroundImage, bool? useProfilePhotoAsBackground, StartGradientPosition? beginGradientPosition, EndGradientPosition? endGradientPosition, ShadowModel? shadow, List<DecorationColorModel>? decorationColors, BorderRadiusModel? borderRadius, bool? border, EdgeInsetsGeometryModel? padding, EdgeInsetsGeometryModel? margin}) → BackgroundModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntity({String? appId}) → BackgroundEntity
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

id → const String
packageName → const String