fileUri constant
Implementation
static const fileUri = SimpleValueFormat<Uri>(
ios: SimplePlatformCodec<Uri>(
formats: ['public.file-url'],
onDecode: fileUriFromString,
onEncode: fileUriToString,
),
macos: SimplePlatformCodec<Uri>(
formats: ['public.file-url'],
onDecode: fileUriFromString,
onEncode: fileUriToString,
),
windows: SimplePlatformCodec<Uri>(
formats: [cfHdrop],
onDecode: fileUriFromWindowsPath,
onEncode: fileUriToWindowsPath,
),
fallback: SimplePlatformCodec<Uri>(
formats: ['text/uri-list'],
onDecode: fileUriFromString,
onEncode: fileUriToString,
),
);