zvikarp / simple_shadow

A customizable shadow for any widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Dart 100.0%