Skip to content

额外功能参数建议 #8

Closed
Closed

Description

@RA1NO3O
  1. 允许省略生成的常量名称的 assets 开头,因为抽象类名称已经包含Assets,可以简化访问器代码

例:

static const String assetsImagesHelloPng = 'assets/images/hello.png';

变为⬇️

static const String imagesHelloPng = 'assets/images/hello.png';
  1. 允许省略生成的常量名称的结尾文件扩展名

例:

static const String assetsImagesHelloPng = 'assets/images/hello.png';

变为⬇️

static const String imagesHello = 'assets/images/hello.png';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions