Skip to content

kthecoder/simple_shadow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A customizable shadow for any widget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%