v1.0.0
water_drop
귀하의 위젯 위에 물방울을 만드는 데 사용할 수 있는 패키지입니다.
37좋아요 830일 다운로드30Pub 점수
플랫폼 정보 없음
MarcinusX/water_drop open-source repository details.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A simple package for adding water drops to your Widgets!
👇👇👇👇👇👇👇👇👇👇
Blog article with detailed explanation:
https://fidev.io/water-drop
👆👆👆👆👆👆👆👆👆👆
Why not?!
Just wrap your widget in WaterDrop and provide params:
Widget build(BuildContext context) {
return WaterDrop(
child: _StaticCard(color: Colors.green),
params: [
WaterDropParam(top: 50, height: 70, left: 100, width: 50),
WaterDropParam(top: 10, height: 100, left: 280, width: 100),
WaterDropParam(top: 155, height: 35, left: 135, width: 35),
WaterDropParam(top: 135, height: 40, left: 250, width: 30),
WaterDropParam(top: 20, height: 40, left: 20, width: 40),
WaterDropParam(top: 140, height: 50, left: 15, width: 40),
WaterDropParam(top: 20, height: 30, left: 200, width: 30),
WaterDropParam(top: 120, height: 20, left: 360, width: 20),
],
);
}
Or if you want a single drop, use WaterDrop.single:
@override
Widget build(BuildContext context) {
return WaterDrop.single(
top: 50,
height: 70,
left: 100,
width: 50,
child: _StaticCard(color: Colors.green),
);
}
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗