init static method
Initialize the App's Assets Manager.
Implementation
static Future<bool> init(BuildContext context, {String? dir}) {
if (_assets == null) {
_assets = DefaultAssetBundle.of(context);
_dir = dir ?? 'assets';
}
return Future.value(true);
}