Skip to content
pubscout

inner_shadow_container

1.0.4, released a year ago by an unverified publisher

A Flutter widget for adding soft inner shadows to containers for neumorphic designs.

WASM-ready
$ flutter pub add inner_shadow_container
Source repository

What it does

InnerShadowContainer is a customizable Flutter widget that renders inner shadows on containers and other UI elements. It supports independently configuring shadow directions, blur radii, offsets, and colors to help achieve a soft neumorphic design style.

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

Use it when

  • You want to build a neumorphic UI style with soft inner container shadows.
  • You need a lightweight, dependency-free widget to apply inset shadows in Flutter.

Skip it when

  • You need complex standard drop shadows instead of inner/inset shadows.
  • Your design system does not utilize neumorphic styling.

Strengths

  • Lightweight and completely dependency-free.
  • Fine-grained control over individual corner and side shadow directions.

Weaknesses

  • Limited to inner shadow container styling rather than general-purpose graphic design tools.
  • Only applies to container-like shapes provided by the widget.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
InnerShadowContainer(
  height: 120,
  width: 120,
  backgroundColor: Colors.white,
  borderRadius: 20,
  blur: 6,
  offset: Offset(4, 4),
  shadowColor: Colors.black26,
  isShadowTopLeft: true,
  isShadowBottomRight: true,
  child: Center(
    child: Icon(Icons.star, size: 40, color: Colors.orange),
  ),
);

Alternatives

Packages that do the same job and could replace inner_shadow_container.