fit_system_screenshot

Last updated:

0 purchases

fit_system_screenshot Image
fit_system_screenshot Images
Add to Cart

Description:

fit system screenshot

fit_system_screenshot #
让Flutter应用适配安卓系统的长截图
安装与卸载 #
1、初始化截屏库
fitSystemScreenshot.init()
copied to clipboard
2、卸载截屏库
fitSystemScreenshot.release()
copied to clipboard
页面初始化 #
1、同步Flutter层和原生层的滚动位置
screenShotDispose = fitSystemScreenshot.attachToPage(scrollAreaKey, scrollController, (offset) {
scrollController.jumpTo(offset);
});
copied to clipboard
2、页面退出,释放对象
screenShotDispose?.call();
copied to clipboard
3、更新滚动内容长度(可选)
fitSystemScreenshot.updateScrollLength(contentLength);
copied to clipboard
4、更新截屏开始位置(可选)
fitSystemScreenshot.updateScrollPosition(0);
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.