Skip to content

TheLastFlame/advanced_shadows

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 45.4%
  • CMake 16.8%
  • Shell 12.4%
  • C 6.9%
  • Objective-C 6.8%
  • Java 6.3%
  • Other 5.4%