Flutter Icon Shade

This package has been deprecated and renamed flutter_icon_shadow. Please use that package instead, which has additional features and is more maintained. Package page

Flutter Icon shadow

Forked from icon_shadow for null safety.

sample

How to use

1. Add dependencies to pubspec.yaml

flutter_icon_shade: ^2.0.2

2. Add icons

Row(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
        IconShade(
            Icon(
                Icons.lightbulb_outline,
                color: Colors.lightBlueAccent,
                size: 36,
            ),
        ),
        IconShade(
            Icon(
                Icons.lightbulb_outline,
                color: Colors.lightBlueAccent,
                size: 36,
            ),
            shadowColor: Colors.lightBlueAccent.shade100,
        ),
        IconShade(
            Icon(
                Icons.lightbulb_outline,
                color: Colors.lightBlueAccent,
                size: 36,
            ),
            showShadow: false,
        ),
    ],
)

Libraries

flutter_icon_shade