PathData class abstract

Annotations
  • @freezed

Constructors

PathData({@PathSourceConverter.new() required PathSource source, @Default.new(FillRule.nonZero) FillRule fillRule, @Default.new(CanvasAppearance(foreground: CanvasFill.none())) CanvasAppearance appearance})
const
factory
PathData.fromJson(Map<String, dynamic> json)
factory

Properties

appearance → CanvasAppearance
no setterinherited
copyWith → $PathDataCopyWith<PathData>
Create a copy of PathData with the given fields replaced by the non-null parameter values.
no setterinherited
fillRule → FillRule
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → PathSource
The sole authored geometry source. Use an explicit empty source for an intentionally empty path.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this PathData to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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