BugSir / AssetsRefGenerator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AssetRefGenerator

Makes it easier to use assets in Flutter, just like using R.drawable.xxx in Android!

中文文档

Features

  • Update assets declaration in pubspec.yaml automatically.
  • Generate a res.dart file contained assets definition.

Getting started

  • Open your Flutter project.
  • Create assets directory named asset, assets, or images, put your asset files in the directory.
  • Click the action button Image text in the Toolbar.
  • Now you'll see the pubspec.yaml file has been updated and a res.dart file also has been created under lib.

Change-notes

1.0.1

  • Support Flutter Module, Package and Plugin project.
  • Ignore .DS_Store file on Mac OS X.

1.0.0

  • Implement basic functions.

Thanks

About

License:MIT License


Languages

Language:Java 100.0%