Skip to content
pubscout

shadow_widget

0.1.1, released 2 years ago by suragch.dev

A widget that adds a shadow effect to any Flutter widget.

WASM-ready
$ flutter pub add shadow_widget
Source repository

What it does

A widget that adds a customizable shadow effect to any Flutter widget. The shadow's opacity is independent of the child widget's opacity.

AI-written summary of version 0.1.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to add a shadow effect to a Flutter widget.
  • You want the shadow's opacity to be independent of the child widget's opacity.

Skip it when

  • You need advanced layout or state management features.

Strengths

  • Supports all platforms (Android, iOS, Web, Windows, macOS, Linux).
  • Shadow's opacity is independent of the child widget's opacity.

Weaknesses

  • Limited to a single specific UI effect.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
ShadowWidget(
  offset: Offset(10, 10),
  color: Colors.black.withOpacity(0.5),
  blurRadius: 10.0,
  child: MyWidget(),
)

Alternatives

Packages that do the same job and could replace shadow_widget.