GradientPaint class

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

GradientPaint.new({GradientPaintTypeOptions? type, Transform? gradientTransform, ReadonlyArray<ColorStop>? gradientStops, bool? visible, num? opacity, BlendMode? blendMode})
factory

Properties

blendMode BlendMode?

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter
gradientStops ReadonlyArray<ColorStop>

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter
gradientTransform Transform

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter
hashCode int
The hash code for this object.
no setterinherited
opacity num?

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GradientPaintTypeOptions

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter
visible bool?

Available on GradientPaint, provided by the GradientPaint$Typings extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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