advanced_shadows 0.0.1 copy "advanced_shadows: ^0.0.1" to clipboard
advanced_shadows: ^0.0.1 copied to clipboard

This package will let you to add inner and outer shadows for the same widget.

This package will let you to add inner and outer shadows for the same widget.

Features #

  1. Add inner shadows
  2. Add out shadows
  3. Just wrap your widget with AdvancedShadow and Voilà

Getting started #

Add the following to your pubspec.yaml file.

dependencies:
  advanced_shadows: 0.0.1

Usage #

Wrap any widget with AdvancedShadow widget. provide shadows!

AdvancedShadow(
  innerShadows: [
    BoxShadow(
      color:Colors.grey.withOpacity(.3),
      blurRadius:20,
    ),
  ],
  outerShadows: [
    BoxShadow(
      color:Colors.grey.withOpacity(.3),
      blurRadius: 20,
    ),
  ],
  child: Container(
    width: 100,
    height: 100,
    decoration: BoxDecoration(
      color: colorTheme.backGround,
      borderRadius: BorderRadius.circular(1000),
    ),
  ),
),

Additional information #

You can also use individual InnerShadow widget.
Just wrap with InnerShadow

2
likes
130
pub points
55%
popularity

Publisher

unverified uploader

This package will let you to add inner and outer shadows for the same widget.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on advanced_shadows