Dart Flutter Export File Creator
A VS Code extension that generates barrel export files for Flutter/Dart folders.
Features
- Create export file from folder context menu or Command Palette
- Recursively scans subfolders and includes their export files
- Automatic relative path calculation
- Automatically opens the generated export file
- English UI and messages
Usage
- Right-click any folder in VS Code Explorer
- Select "Create Export File"
- The extension will generate a
.dart file with the folder name
- The generated file will open automatically
Example Output
pages/
├── home/
│ ├── home_page.dart
│ └── home.dart (export file)
└── profile/
├── profile_page.dart
└── profile.dart (export file)
Example home.dart content:
// Auto-generated export file for home folder
// Created on: 2024-12-15 14:30:25
export './home_page.dart';
// You can edit it manually.
| |