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.
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.
- simple_shadow
Customizable drop shadow widget for any child
45Compare - shadow_widget
A widget that adds a shadow effect to any Flutter widget.
49Compare - tabbed_view
Flutter widget inspired by the classic Desktop-style tab component.
66Compare - shadex
A Flutter widget that adds soft, blurred shadow effects to any child widget.
43Compare