OpacityExtension extension

Extension method for providing opacity on the top of widgets

on

Methods

opacity({Key key, double value}) Widget
Provide a custom opacity to any widget by using value
opacity0({Key key}) Widget
Provides 0% opacity which means fully invisible
opacity25({Key key}) Widget
Provides 25% opacity which means partially visible
opacity50({Key key}) Widget
Provides 50% opacity which means half visible
opacity75({Key key}) Widget
Provides 75% opacity which means partially invisible
opacity100({Key key}) Widget
Provides 100% opacity which means fully visible