fromAsset method
Implementation
Widget fromAsset(
String pathOfAsset, {
Key? key,
AssetErrorWidget errorWidget = errorWidgetHolder,
LoadingWidget loadingWidget = loadingWidgetHolder,
}) {
return AssetPDFView(
key: key,
pdf: this,
assetPath: pathOfAsset,
errorWidget: errorWidget,
loadingWidget: loadingWidget,
);
}