FillerConfig class

Properties

dashGap double?
final
dashOffset double?
final
drawConfig DrawConfig?
no setter
fillWeight double?
final
hachureAngle double?
final
hachureGap double?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zigzagOffset double?
final

Methods

copyWith({DrawConfig? drawConfig, double? fillWeight, double? hachureAngle, double? hachureGap, double? dashOffset, double? dashGap, double? zigzagOffset}) FillerConfig
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

Static Properties

defaultConfig FillerConfig
getter/setter pair

Static Methods

build({DrawConfig? drawConfig, double fillWeight = 1, double hachureAngle = 320, double hachureGap = 15, double dashOffset = 15, double dashGap = 2, double zigzagOffset = 5}) FillerConfig
  • fillWeight When using dots styles to fill the shape, this value represents the diameter of the dot.
  • hachureAngle Numerical value (in degrees) that defines the angle of the hachure lines. Default value is -41 degrees.
  • hachureGap Numerical value that defines the average gap, in pixels, between two hachure lines. Default value is 15.
  • dashOffset When filling a shape using the DashedFiller, this property indicates the nominal length of dash (in pixels). If not set, it defaults to the hachureGap value.
  • dashGap When filling a shape using the DashedFiller, this property indicates the nominal gap between dashes (in pixels). If not set, it defaults to the hachureGap value.
  • zigzagOffset When filling a shape using the ZigZagLineFiller, this property indicates the nominal width of the zig-zag triangle in each line. If not set, it defaults to the hachureGap value.