yk_flutter_core 0.0.1
yk_flutter_core: ^0.0.1 copied to clipboard
YKFlutterCore
Features #
YkFileManager #
YkFileManager.getDocumentPath();
final data = Int8List.fromList(utf8.encode("fawoeigjaowiegjoiawjegoiawjegoiawejgo"));
final documentPath = await YkFileManager.getDocumentPath();
String newFilePath = "$documentPath/Yk/Document/text.txt";
final result = await YkFileManager.save(bytes: data, filePath:newFilePath);
final documentPath = await YkFileManager.getDocumentPath();
String newFilePath = "$documentPath/Yk/Document/text.txt";
final detail = await YkFileManager.getData(path: newFilePath);
final andoder = utf8.decode(detail ?? []);