PackageLoader class
Methods
-
load(String key)
→ Future<ByteData>
-
-
loadAssetImage(String assetName)
→ AssetImage
-
-
loadFont(String family, String key)
→ Future<void>
-
-
loadImage(String name, {Key? key, double? scale, String? semanticLabel, bool excludeFromSemantics = false, double? width, double? height, Color? color, BlendMode? colorBlendMode, BoxFit? fit, Alignment alignment = Alignment.center, ImageRepeat repeat = ImageRepeat.noRepeat, Rect? centerSlice, bool matchTextDirection = false, bool gaplessPlayback = false, FilterQuality filterQuality = FilterQuality.low})
→ Image
-
-
loadJson(String key, {bool cache = true})
→ Future
-
-
loadString(String key, {bool cache = true})
→ Future<String>
-
-
loadStructuredData<T>(String key, Future<T> parser(String value))
→ Future<T>
-
-
loadSvg(String assetName, {Key? key, bool matchTextDirection = false, double? width, double? height, BoxFit fit = BoxFit.contain, Alignment alignment = Alignment.center, bool allowDrawingOutsideViewBox = false, WidgetBuilder? placeholderBuilder, Color? color, BlendMode colorBlendMode = BlendMode.srcIn, String? semanticsLabel, bool excludeFromSemantics = false})
→ SvgPicture
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(String key)
→ String
-
-
toString()
→ String
-
A string representation of this object.
inherited