flutter_icon_shadow
flutter_icon_shadow copied to clipboard
icon shadow: add shadow to icon
Icon shadow
Flutter Icon shadow
how to use:
1. add dependencies to pubspec.yaml:
icon_shadow: ^1.0.1
2. add icons:
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
IconShadowWidget(Icon(Icons.lightbulb_outline,
color: Colors.lightBlueAccent, size: 36)),
IconShadowWidget(Icon(Icons.lightbulb_outline,
color: Colors.lightBlueAccent, size: 36),shadowColor: Colors.lightBlueAccent.shade100,),
IconShadowWidget(Icon(Icons.lightbulb_outline,
color: Colors.lightBlueAccent, size: 36),showShadow: false,)
],
)