SvgFile class

Constructors

SvgFile(String pathTo)

Properties

hasChanged bool
no setter
hashCode int
The hash code for this object.
no setteroverride
height int
no setter
lastModified DateTime?
no setter
pageNo int
latefinal
pathTo String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size → Size?
no setter
width int
no setter

Methods

addPageNo() Future<void>
Add a page no. at the top of the page. We add the svg elements at the very end of the file.
compareTo(SvgFile other) int
getAttributeInt(String attribute) int?
load() List<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reload() → void
replace(String svgPath, String existing, String replacement) Future<void>
show({Progress? progress}) Future<void>
toString() String
A string representation of this object.
override
updatePageHeight(String svgPath, Size pageSize, Size newPageSize) Future<void>
We increase the page hieght so we can fit the page no. at the bottom of the page without it being over any of the diagram.

Operators

operator ==(covariant SvgFile other) bool
The equality operator.
override

Static Methods

showList(List<SvgFile> files, {Progress? progress}) Future<void>