kWindowsStoragePathPrefix top-level constant

String const kWindowsStoragePathPrefix

System storage path prefix required on Windows for long file-path support. Default implementation in dart:io does not support long file-path on Windows.

Reference: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry

Implementation

const String kWindowsStoragePathPrefix = '\\\\?\\';