Overview
Name Plus is a Flutter/Dart package that automatically increments file and directory names to avoid conflicts when creating new files or folders. It intelligently appends numbers (e.g., 'file (1)', 'folder (2)') to ensure uniqueness. Ideal for apps that generate multiple files dynamically, such as document editors, project creators, or export tools. The package supports all major platforms including Android, iOS, macOS, Windows, and Linux, making it highly portable. It simplifies file management by handling naming logic without manual checks.
Use cases
- Auto-generating unique filenames
- Creating numbered backups
- Exporting multiple files safely
- Managing dynamic folder creation
- Avoiding file name collisions
Key features
- Automatic name incrementation
- Supports file and directory names
- Cross-platform compatibility
- Simple API integration
- Handles existing file conflicts
Suitable for
- File management apps
- Document and project generators
- Export utilities
- Desktop and mobile apps
- Apps with dynamic file output
Considerations
- Does not support custom naming patterns
- Requires manual path handling
- No built-in file content writing
- Limited to name logic, not full file operations
- Not designed for batch processing