CustomWidgetVisibility extension
A Dart extension for adding visibility, opacity, absorption, and shadow effects to a Widget.
- on
Methods
-
cAbsorb(
bool absorb) → Widget -
Available on Widget, provided by the CustomWidgetVisibility extension
Disable clicks on the widget. -
cOpacity(
double opacity) → Widget -
Available on Widget, provided by the CustomWidgetVisibility extension
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 -
Available on Widget, provided by the CustomWidgetVisibility extension
Add a shadow effect to the widget. -
cVisible(
bool visible) → Widget -
Available on Widget, provided by the CustomWidgetVisibility extension
Set the visibility of the widget.