DecorationImage class Null safety

Annotations
  • @freezed

Constructors

DecorationImage({required ImageProvider image, ColorFilter? colorFilter, BoxFit? fit, @Default(Alignment.center) Alignment alignment, Rect? centerSlice, @Default(ImageRepeat.noRepeat) ImageRepeat repeat, @Default(false) bool matchTextDirection, @Default(1.0) double scale, @Default(1.0) double opacity, @Default(FilterQuality.low) FilterQuality filterQuality, @Default(false) bool invertColors, @Default(false) bool isAntiAlias})
const
factory
DecorationImage.fromJson(Map<String, Object?> json)
factory

Properties

alignment → Alignment
read-only, inherited
centerSlice → Rect?
read-only, inherited
colorFilter → ColorFilter?
read-only, inherited
copyWith → $DecorationImageCopyWith<DecorationImage>
@JsonKey(ignore: true), read-only, inherited
filterQuality → FilterQuality
read-only, inherited
fit → BoxFit?
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
image → ImageProvider
read-only, inherited
invertColors → bool
read-only, inherited
isAntiAlias → bool
read-only, inherited
matchTextDirection → bool
read-only, inherited
opacity → double
read-only, inherited
repeat → ImageRepeat
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
scale → double
read-only, inherited

Methods

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

Operators

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