Skip to content

impeiwei/bk_flutter_image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bk_flutter_image——Flutter图片内存优化库

背景

随着移动端业务中更多Flutter应用, 多图、大图复杂页面使用Flutter的Image.network(..) , FadeInImage.network(..)易出现出现OOM问题

指南

Android依赖 Glide 4.11.0

dependencies {
    implementation 'com.github.bumptech.glide:glide:4.11.0'
}

iOS 依赖 SDWebImage 5.9.0及以上

pod 'SDWebImage','5.9.0'

使用方式

BkFlutterImage(
  url: imageUrl,
  width: width,
  height: height,
  autoResize: true,
  ...
)

License

详情参见 LICENSE

版本历史

具体版本历史请参看 CHANGELOG.md

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 47.5%
  • Objective-C 30.3%
  • Dart 14.9%
  • Ruby 5.8%
  • Other 1.5%