Path constructor
Path({
- List<
PathCommand> commands = const <PathCommand>[], - PathFillType fillType = PathFillType.nonZero,
Creates a new immutable collection of PathCommands.
Implementation
Path({
List<PathCommand> commands = const <PathCommand>[],
this.fillType = PathFillType.nonZero,
}) {
_commands.addAll(commands);
}