validFilenameRegex top-level property
Regex for filenames and directories. used to make sure some generated files do not have special characters in the names.
Implementation
final validFilenameRegex = RegExp(r'^[^<>:"/\\|?*\x00-\x1F]+$');
Regex for filenames and directories. used to make sure some generated files do not have special characters in the names.
final validFilenameRegex = RegExp(r'^[^<>:"/\\|?*\x00-\x1F]+$');