{"repo":"BirjuVachhani/spider","free":true,"listed":false,"github":"https://github.com/BirjuVachhani/spider","clone":"git clone https://github.com/BirjuVachhani/spider.git","description":"A small dart library to generate Assets dart code from assets folder.","language":"Dart","stars":196,"topics":["flutter","flutter-package","dart","dartlang","dart2","dart-library","dart-package","library","metaprogramming","code-generation"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Spider A small dart library to generate Assets dart code from assets folder. It generates dart class with static const variables in it which can be used to reference the assets safely anywhere in the flutter app. User Guide: Spider Docs Breaking Changes since v4.0.0: - --info flag command is now --about command. - --check-updates flag command is now --check-for-updates . Example Before After Generated Assets Class This method allows no error scope for string typos. Also, it provides auto-complete in the IDE which comes very handy when you have large amount of assets. Installation Install using pub This is package is an independent library that is not linked to your project. So there's no need to add it to your flutter project as it works as a global command line tool for all of your projects. Install using Homebrew Run following command to see help: Usage Create Configuration File Spider provides a very easy and straight forward way to create a configuration file. Execute following command, and it will create a configuration file with default configurations in it. To append configs in pubspec.yaml file, execute following command. To use a custom directory path for configuration file, execute following command. Now you can modify available configurations and Spider will use those configs when generating dart code. Use JSON config file Though above command creates YAML format for config file, spider also supports JSON format for config file. Use this command to create JSON conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/BirjuVachhani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BirjuVachhani/spider/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}