When I run any of the build commands, the Assets file is broken because the variable names it creates contain backslashes.
Here is an example with only one asset in assets/images.
// GENERATED CODE - DO NOT MODIFY BY HAND
// **************************************************************************
// Total assets: 1.
// Generated by https://pub.dev/packages/assets_gen.
// **************************************************************************
// ignore_for_file: constant_identifier_names,non_constant_identifier_names,lines_longer_than_80_chars
class Assets {
static const String package = 'mypackage';
static const String assets\images\bottomCurvesPng = 'assets\images\bottom-curves.png';
static const String mypackage$assets\images\bottomCurvesPng = 'packages/mypackage/assets\images\bottom-curves.png';
}
I have no idea if I'm doing something wrong or what the issue is.
Would be nice if it can be addressed any time soon.