discontinuedPackage vector_graphics_compiler_plus has been discontinued and replaced by vector_graphics_compiler.

Fill class

An immutable representation of filling attributes for a Paint.

See also Paint.fill.

Annotations
  • @immutable

Constructors

Fill({Color? color, Gradient? shader})
Creates a new immutable set of drawing attributes for a Paint.
const

Properties

color → Color
The color to use for this stroke.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shader → Gradient?
The Gradient to use when filling.
final

Methods

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

Operators

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