simple_shadow

A customizable shadow for any widget

Getting Started

import:

import 'package:simple_shadow/simple_shadow.dart';

example:

SimpleShadow(
    child: Image.asset('images/bird.png'),
    opacity: 0.6,         // Default: 0.5
    color: Colors.blue,   // Default: Black
    offset: Offset(5, 5), // Default: Offset(2, 2)
    sigma: 7,             // Default: 2
)

Default

Color: Colors.blue

Opacity: 1

Sigma: 10

Offset: Offset(10, 10)

Libraries

simple_shadow