Instead of having:
static const String cat = 'assets/images/cat.png';
static const String ah = 'assets/audio/ah.wav';
I like to have:
final String cat = 'assets/images/cat.png';
final String meow= 'assets/audio/meow.wav';
So I can achieve nested access to all assets by one root class, like:
Assets.images.cat;
Assets.audios.meow;
you can also generate this class
class Assets {
const Assets._();
static _AssetImages get images => _AssetImages();
static _AssetAudios get audios => _AssetAudios();
static _AssetVideos get videos => _AssetVideos();
}