IndexedFile class

The IndexedFile behaves similar to File. Additionally it makes sure that each File, created with IndexedFile, is unique and does not get overwritten.

Inheritance

Constructors

IndexedFile(String name, {Widget? child, String? custom, String? path, bool execute = false, String? pack, bool inheritFolder = false})
The IndexedFile behaves similar to File. Additionally it makes sure that each File, created with IndexedFile, is unique and does not get overwritten. In order to do that IndexedFile saves for each inputted name an id, which gets incremented after each use.

Properties

child Widget?
final
custom String?
final
execute bool
final
hashCode int
The hash code for this object.
no setterinherited
inheritFolder bool
getter/setter pair
name String
final
pack String?
final
path String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate(Context context) Widget
override
getId() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getIndexed(String name) int
getIndexedAndIncrease(String name) int