spider
A small dart command-line tool for generating dart references of assets from the assets folder.
4.2.3
13K downloads/mo
#2598 most downloaded on pub.dev
BirjuVachhani/spider
What this package is like to depend on
Last release 10 months ago
08 Oct 2025
Ships unpredictably
gaps range from 9 days to 2.3 years
Nearly every release is documented
notes for 35 of 35 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
35 releases · first in 2020
1 release in the last 12 months
see the full history below
Release timeline
35 releases · Feb 2020 to Oct 2025Releases
latest 35-
4.2.308 Oct 2025Release notes
Open source →- [BUG] fix config parsing failing if no types are provided for an asset group.
- Upgrade dependencies.
- General cleanup.
Release notes
Open source →- [BUG] fix config parsing failing if no types are provided for an asset group.
- Upgrade dependencies.
- General cleanup.
-
4.2.222 Jun 2023Release notes
Open source →- Upgrade dependencies.
- Use
isTruematcher instead oftruein tests. Contributed by @dkrutskikh
Release notes
Open source →- Upgrade dependencies.
- Use
isTruematcher instead oftruein tests. Contributed by @dkrutskikh
-
4.2.115 Feb 2023 -
4.2.023 Dec 2022Release notes
Open source →- Add support for font family code-gen. Checkout docs for more info.
- Fix typo in
KEY_IGNORED_RULES. - Implement fonts code generation based on fonts declaration in
pubspec.yamlfile. - Fix duplicated success logs.
- Upgrade dependencies.
- Add documentation links in default config templates.
Release notes
Open source →- Add support for font family code-gen. Checkout docs for more info.
- Fix typo in
KEY_IGNORED_RULES. - Implement fonts code generation based on fonts declaration in
pubspec.yamlfile. - Fix duplicated success logs.
- Upgrade dependencies.
- Add documentation links in default config templates.
-
4.1.016 Nov 2022Release notes
Open source →- Adds support for code generation on bundled package assets. Contributed by @Aqluse
- Upgraded dependencies.
Release notes
Open source →- Adds support for code generation on bundled package assets. Contributed by @Aqluse
- Upgraded dependencies.
-
4.0.005 Aug 2022Release notes
Open source →- Structural rewrite of the internal workings of the library that utilizes
CommandRunner,CommandandFlagCommand
classes for better overall structure. - Renamed
infocommand toabout. - Refactored
check-updatesflag tocheck-for-updates. - Added
--licenseflag command. - Added
--docsflag command. createcommand no longer checks for current directory to be a Flutter project.- Fixes existing config detection for
--add-in-pubspecflag increatecommand. - Fixes stacktrace logging on error or exception.
- Color-codes success and error messages for better visual differentiation.
Release notes
Open source →- Structural rewrite of the internal workings of the library that utilizes
CommandRunner,CommandandFlagCommandclasses for better overall structure. - Renamed
infocommand toabout. - Refactored
check-updatesflag tocheck-for-updates. - Added
--licenseflag command. - Added
--docsflag command. createcommand no longer checks for current directory to be a Flutter project.- Fixes existing config detection for
--add-in-pubspecflag increatecommand. - Fixes stacktrace logging on error or exception.
- Color-codes success and error messages for better visual differentiation.
- Structural rewrite of the internal workings of the library that utilizes
-
3.2.018 Jul 2022Release notes
Open source →- Fixes pubspec config detection.
- Fixes watch flag abbr parsing.
- Introduces
ignored_rulesfeature which allows to specify ignore rules for generated files. - Introduces
sub_groupsfeature.
Release notes
Open source →- Fixes pubspec config detection.
- Fixes watch flag abbr parsing.
- Introduces
ignored_rulesfeature which allows to specify ignore rules for generated files. - Introduces
sub_groupsfeature.
-
3.1.005 Jun 2022 -
3.0.001 Jun 2022Release notes
Open source →- Fix flag abbr not working for some commands.
- Add support for creating configs in
pubspec.yamlfile. - Add support for creating config file at custom directory path.
- Add support for specifying custom config file path when running
buildcommand. - Build command now displays which config file is being used if there's more than one config file.
- Document new capabilities and commands.
Release notes
Open source →- Fix flag abbr not working for some commands.
- Add support for creating configs in
pubspec.yamlfile. - Add support for creating config file at custom directory path.
- Add support for specifying custom config file path when running
buildcommand. - Build command now displays which config file is being used if there's more than one config file.
- Document new capabilities and commands.
-
2.2.214 Mar 2022Release notes
Open source →What's Changed
- Sort generated file maps by file basenames by @WSydnA in #45
New Contributors
- @WSydnA made their first contribution in #45
Full Changelog: 2.2.1...2.2.2
-
2.2.114 Feb 2022Release notes
Open source →- PR[#41]: values is not formatted in camel case if asset is written in snake case
-
2.2.004 Feb 2022 -
2.1.021 Nov 2021Release notes
Open source →- Uses official lints package for static analysis.
- Added more code comments.
- Fix lint warnings.
- Fix #35 Constants names have no prefixes.
- Add option to use underscores in reference names.
-
2.0.030 Apr 2021 -
1.1.109 Nov 2020 -
1.1.009 Nov 2020Release notes
Open source →- Added private constructor for generated classes to restrict instantiation
- Format fixes
- Upgraded dependencies
-
1.0.128 Jul 2020 -
1.0.009 May 2020Release notes
Open source →-
Added support for exporting generated dart code which is enabled by default This can be helpful in cases where you want to use a single file to import all of the generated classes. (Accessible individual classes when importing)
-
Added support to use opt in for usage of
part offeature of dart. It allows to avoid false imports when using export option. It makes all the generated dart code files to behave like one file and one import. -
Added support to remove
Generated by spider...comment line from all the generated dart code. Allows to minimize vcs noise. -
export_filecan be used to provide name of the export file.
Breaking Changes
- Instead of providing
packageto every group, now you have to define globalpackagename as it makes more sense. Providing package name for individual groups won't work.
-
-
0.5.001 Apr 2020Release notes
Open source →- Added support for
check updates - Updated help manuals
- Updated example configs files
- Fixed verbose logs
- Added support for
-
0.4.131 Mar 2020Release notes
Open source →l̥
- Fix build command failing when there's no test generation specified
- Fix embedded version
- Added test to make sure that release version and embedded version matches
-
0.4.028 Mar 2020Release notes
Open source →- Spider now allows to specify multiple paths to generate dart references under a single class.
- Spider now generates test cases for dart references to make sure that the file is present in the project.
-
0.3.601 Mar 2020Release notes
Open source →- Fixed issue of creating references for files like
.DS_Store - Now Spider shows error if you try to create a group with flutter specific assets directories like
2.0xand3.0x.
- Fixed issue of creating references for files like
-
0.3.518 Feb 2020Release notes
Open source →- fixes common commands execution issue. Now you can execute command anywhere you like.
-
0.3.418 Feb 2020 -
0.3.316 Feb 2020Release notes
Open source →- Added smart watch feature.
- use
--smart-watchoption when running build command to enable it.
-
0.3.216 Feb 2020 -
0.3.116 Feb 2020Release notes
Open source →- Fix version command.
- Formatted outputs and added more verbose logs.
- Added config validation before processing assets.
-
0.3.013 Feb 2020Release notes
Open source →- Add support for categorization by file types.
- Add support for using prefixes for generated dart references.
-
0.2.109 Feb 2020Release notes
Open source →- Add support for JSON format for config files
- Add flag
--jsontocreatecommand to create json config file. - Update readme to add json option for config file.
-
0.2.009 Feb 2020Release notes
Open source →- Add support for multiple assets directories
- Add support for separate class generation
- Uses sample config file config creation
-
0.1.307 Feb 2020Release notes
Open source →- Add support for watching directories for file changes
- Rename
initcommand tocreatecommand - Implemented verbose flag for build command
- add
buildcommand
-
0.1.203 Feb 2020 -
0.1.103 Feb 2020 -
0.1.003 Feb 2020 -
0.0.102 Feb 2020Release notes
Open source →- pre-alpha release
- Initial version for demo purpose
- avoid using in production.