assetsPath property

String assetsPath
final

UI 资源路径,用于自定义皮肤。

UI assets path for customizing skins.

自定义皮肤步骤:

  1. 在应用目录创建资源文件夹,如 assets/player_icons/
  2. 在应用 pubspec.yaml 中注册:- assets/player_icons/
  3. 传入此参数:assetsPath: 'assets/player_icons'

Implementation

final String assetsPath;