0 purchases
download asset via internet
ble_sdk #
Download assets via internet
Futures #
Download assets via internet
Load assets from File
Delete assets from local
Getting Started #
init controller
DownloadAssetsController controller = DownloadAssetsController();
await controller.init();
downloaded = controller.assetsDirAlreadyExists();
copied to clipboard
start download
await controller.startDownload(
assetsUrls: [
// 'http://10.50.10.93:3000/files/download/2',
// 'http://10.50.10.93:3000/files/download/3',
'http://10.50.10.93:3000/files/download/1',
// 'http://localhost/assets_dem',
],
);
copied to clipboard
load assets from file
AssetsDownloadWidget(
controller: controller,
subPath: 'assets/images',
image: 'cancle.svg',
builder: SvgPicture.file,
builderError: () => const Icon(Icons.error),
),
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.