Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AKZHW authored Dec 20, 2022
1 parent 05a2dcd commit 752408f
Showing 1 changed file with 33 additions and 10 deletions.
43 changes: 33 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
# bk_flutter_image
# bk_flutter_image——Flutter图片内存优化库

A new flutter plugin project.
## 背景
随着移动端业务中更多Flutter应用, 多图、大图复杂页面使用Flutter的Image.network(..) , FadeInImage.network(..)易出现出现OOM问题
* [实践](https://mp.weixin.qq.com/s/yUm4UFggYLgDbj4_JCjEdg)

## Getting Started
## 指南

This project is a starting point for a Flutter
[plug-in package](https://flutter.dev/developing-packages/),
a specialized package that includes platform-specific implementation code for
Android and/or iOS.
### Android依赖 Glide 4.11.0

For help getting started with Flutter, view our
[online documentation](https://flutter.dev/docs), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
```gradle
dependencies {
implementation 'com.github.bumptech.glide:glide:4.11.0'
}
```

### iOS 依赖 SDWebImage 5.12.6及以上 https://github.com/SDWebImage/SDWebImage/issues/3351
pod 'SDWebImage','5.12.6'

### 使用方式

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

## License

详情参见 [LICENSE](./LICENSE)

## 版本历史
具体版本历史请参看 [CHANGELOG.md](./CHANGELOG.md)

0 comments on commit 752408f

Please sign in to comment.