CustomWidgetVisibility extension
A Dart extension for adding visibility, opacity, absorption, and shadow effects to a Widget.
- on
Methods
-
cAbsorb(
bool absorb) → Widget - Disable clicks on the widget.
-
cOpacity(
double opacity) → Widget - Set the opacity of the widget.
-
cShadow(
{BoxShape shape = BoxShape.rectangle, Clip clipBehavior = Clip.none, BorderRadius? borderRadius, double elevation = 0.0, Color color = Colors.transparent}) → Widget - Add a shadow effect to the widget.
-
cVisible(
bool visible) → Widget - Set the visibility of the widget.