Dart Barrel File Generator installs statistics
By Miquel de Domingo i Giralt · VS Code Marketplace · Programming Languages
Visual studio code to generate barrel files for the Dart language.
Dart Barrel File Generator has 94,116 recorded installs on VS Code Marketplace, ranking #2459 of 2,502 tracked listings.
Rating: 4.69 / 5 from 13 ratings
About Dart Barrel File Generator
Dart Barrel File Generator
VSCode extension that generate barrel files for folders containing dart files.
Installation
Dart Barrel File Generator either by searching for the extension in VSCode or from the marketplace.
Overview
It can create barrel files only two the selected folder

It creates a barrel file for the selected folder and all the nested folders from the selected. Likewise, it also adds the nested folder barrel file to its parent barrel file.

Alternatively, the extension can create a barrel file with all the names of the nested folders (for each subfolder), without creating additional barrel files.

Commands
| Command | Description |
|---|---|
GDBF: This folder | Creates a barrel file for the selected folder |
GDBF: Folders (recursive) | Creates a barrel file for the selected and its nested folders |
GDBF: Folders' files (recursive) | Creates a barrel file for the selected exporting all files with the entire path |
GDBF: Focused (parent) | Through the command palette and when focusing the editor, generates a barrel file to the focused file parent |
Both commands can be used by typing in the command palette. It will then ask you to choose a folder. If it is done from the folder tree, it will use the selected folder as the root folder.
Options
Excluding files
You can also exclude .freezed.dart and .g.dart (generated) files by modifying the
following options in your settings:
dart-barrel-file-generator.excludeFreezed: false(by default).dart-barrel-file-generator.excludeGenerated: false(by default).
It is also possible to exclude glob patterns:
- For files, you can add a list of file globs in the
dartBarrelFile.excludeFileListoption. - For directories, you can add a list of directories globs in the
dartBarrelFile.excludeDirListoption.
Default barrel file name
The extension will create a barrel file with the <folder-name>.dart by default. This
behaviour can be changed if the dart-barrel-file-generator.defaultBarrelName option is
set. By changing this option, whenever a barrel file is created, it will use the name
set in the configuration instead of the default.
Note: If the name contains any white-space, such will be replaced by
_.
Custom file name
By default, the extension will create a new file named as the folder name, appended by
the .dart extension. However, if you want to set the name, you can activate the
following option:
dart-barrel-file-generator.promptName: false(by default).
Whenever you create a new barrel file, a prompt will appear to ask for the file name. It can be used for both options.
Note: When entering the name, the
.dartextension is not required.
Other options
- Skipping empty folders: by default,
dart-barrel-file-generatorwill not generate a barrel file for a folder that does not have any file to export. You can change this behaviour by settingdart-barrel-file-generator.skipEmptytofalse. - Exporting as
package:<app-name>/if the extension is executed in the./libfolder. Enable it by settingdart-barrel-file-generator.prependPackageLibToExporttotrue. Disabled by default.
Attributions
Description from the VS Code Marketplace listing.
- barrel file
- dart
- flutter
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (6)Similar VS Code Marketplace Programming Languages plugins
All 20 Dart Barrel File Generator alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=miquelddg.dart-barrel-file-generator. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.