Flutter Icon Shade

Flutter Icon shadow

Forked from flutter_flutter_icon_shade 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