soft_container 1.0.3 copy "soft_container: ^1.0.3" to clipboard
soft_container: ^1.0.3 copied to clipboard

A Flutter package for design a container easily

🧩 SoftContainer #

A simple yet flexible Flutter widget that provides a soft-looking container with customizable styling, shadows, padding, margins, and more.


🌟 Features #

✅ Customizable width & height
✅ Custom border radius
✅ Optional box decoration
✅ Optional shadow
✅ Custom shadow color
✅ Custom padding & margin
✅ SafeArea integration
✅ Perfect for cards, sections, or soft UI effects


Property Type Default Description
width double? null Width of the container
height double? null Height of the container
child Widget? null Content inside the container
alignment Alignment Alignment.center Alignment of the child
boxDecoration BoxDecoration? null Custom decoration if you want full control
margin EdgeInsetsGeometry EdgeInsets.all(15) Outer spacing
padding EdgeInsetsGeometry EdgeInsets.all(15) Inner spacing
borderRadius double 10 Container corner radius
isBoxShadow bool true Enables or disables the shadow
isBoxDecoration bool true Enables default decoration
containerColor Color Colors.white Background color
boxShadowColor Color Colors.white10 Shadow color
2
likes
130
points
17
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for design a container easily

Repository (GitHub)
View/report issues

Topics

#dropdown #flutter-widget #ui-components #custom-widget #reusable-ui

License

MIT (license)

Dependencies

flutter

More

Packages that depend on soft_container