阴影
Flutter 中任何小部件的阴影效果
- 星标
- 23
- 复刻
- 2
- 最近推送(UTC)
- 2023年7月3日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
DropShadow
Drop shadow effect for any widget in flutter

Logic behind the package

Screenshot

Example Usage
DropShadow(
child: Image.network(
'https://images.pexels.com/photos/1191639/pexels-photo-1191639.jpeg',
width: 250,
),
);
Parameters
| Type | Name | Value |
|---|---|---|
| Widget | child | required |
| double | blurRadius | 10.0 |
| double | borderRadius | 0.0 |
| Offset | offset | Offset(0.0, 8.0) |
| double | opacity | 1.0 |
| double | spread | 1.0 |
| Color? | color | null |
语言DartSwiftKotlinObjective-C
分类
使用的依赖
依赖清单 2 项
- flutter
{"sdk":"flutter"} - very_good_analysis开发依赖
^4.0.0+1
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗