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
)

example

Default

default

Color: Colors.blue

color_blue

Opacity: 1

opacity_1

Sigma: 10

sigma_10

Offset: Offset(10, 10)

offset_10

GitHub

https://github.com/marcelopmont/simple_shadow