shadow_overlay
用於美化您的圖像或小部件的套件。它會疊加您提供的背景顏色,使圖像或小部件看起來像透明(以漸變風格)。
afzl-wtu/shadow_overlay open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
A Flutter Package to show a Gradient Shadow on your Images or Widgets.
The package is straight Forward. It puts shadow (Default White) on your Image or Widget. Which makes it beautiful and fuses your image or widget with background.

There is no any requirement. Package is entirely written in dart. It can run on any platform.
ShadowOverlay(
child: Image.asset(
'path to your image',
height: 400,
width:800,
),
shadowWidth: 800,
shadowHeight: 150,
);
Documentaion is also provided within the code you can search more options just hovering over your mouse at properties of ShadowOverlay object.
Gradient Transparency , Transparent Gradient , Transparent Image , Image Transparency , Transparent Widget , Transparent overlay , Transparency overlay Transparent Shadow, Gradient Shadow , Gradual Transparency , Color overlay over image, transparency effect over image
依賴清單 3 項
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗