SMCatFolder class

Used to manage/monitor a folder containing smcat files.

Constructors

SMCatFolder({required String folderPath, required String basename})
folderPath is the name of the folder holding the smcat files.

Properties

basename String
getter/setter pair
folderPath String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
list List<SMCatFile>
returns the list of smcat files in this folder that match the passed basename.
no setter
listSvgs List<SvgFile>
returns the list of svg files in this folder that match the passed basename.
no setter
lock → Lock
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<SvgFile>
returns a stream of SvgFile. An SvgFile is added to the stream each time it is generated. A single SvgFile will be generated each time you change the smcat file or call queueGeneration
no setter

Methods

delayedGeneration() Future<void>
generateAll({required bool force, Progress progress = noOp}) Future<void>
Generate the svg files for all smcat files in folderPath with a matching basename
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queueGeneration(SMCatFile smCatFile) → void
Used by the watch mechanism to queue a smcat file for conversion to an svg file.
show({Progress? progress}) Future<void>
toString() String
A string representation of this object.
inherited
watch() → void

Operators

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

Static Methods

getBasename(String file) String