NapaImage class

Inheritance

Constructors

NapaImage({AlignmentGeometry alignment = Alignment.center, Rect? centerSlice, Color? color, BlendMode? colorBlendMode, bool excludeFromSemantics = false, FilterQuality filterQuality = FilterQuality.medium, BoxFit? fit, bool gaplessPlayback = false, double? height, bool isAntiAlias = false, bool matchTextDirection = false, double? opacity, ImageRepeat repeat = ImageRepeat.noRepeat, double? width, ImageWrapper? data})

Properties

alignment AlignmentGeometry
getter/setter pair
centerSlice Rect?
getter/setter pair
childMode NapaChildMode
finalinherited
color Color?
getter/setter pair
colorBlendMode BlendMode?
getter/setter pair
data ImageWrapper?
getter/setter pair
excludeFromSemantics bool
getter/setter pair
filterQuality FilterQuality
getter/setter pair
fit BoxFit?
getter/setter pair
gaplessPlayback bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
isAntiAlias bool
getter/setter pair
matchTextDirection bool
getter/setter pair
opacity double?
getter/setter pair
properties List<InspectableProperty>
inspectable property list.
getter/setter pairinherited
repeat ImageRepeat
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widgetName String
no setteroverride
width double?
getter/setter pair

Methods

getProperty(String name) → InspectableProperty?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProperty(String name) → void
inherited
toJson() → dynamic
toJson returns a json compatible object.
override
toString() String
A string representation of this object.
inherited
toWidget() Widget
Get a Flutter widget equivalent object.
override

Operators

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

Static Methods

decode(dynamic data) NapaImage?
Deserialize a json compatible object into a NapaWidget or null.
override