FileManager class
Менеджер файлов для работы с ресурсами комикса
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
tempFolder
→ Future<
String> -
Получение временной папки
no setter
Static Methods
-
checkFile(
String folder, String oldFile, String newFile) → Future< bool> - Проверка существования файла
-
createFolders(
) → Future< void> - Создание папок
-
delete(
String folder, String oldFile) → Future< void> - Удаление файла
-
deleteFolder(
{int errorCount = 0}) → Future< void> - Удаление папки
-
deleteTiles(
String folder, String oldFile) → Future< void> - Удаление тайлов
-
getFileExt(
String name) → String - Получение расширения файла
-
update(
String folder, String oldFile, String newFile) → Future< String> - Обновление файла
-
updateTiles(
String folder, String oldFile, String newFile, bool puzzle) → Future< String> - Обновление тайлов
Constants
-
comicsScales
→ const List<
double> - folderLayers → const String
- folderSounds → const String
- placeholderSize → const int
-
puzzleScales
→ const List<
double> - tileSize → const int