WidgetModifiers extension

on

Methods

conditionalWrap(bool condition, Widget wrapper(Widget child)) → Widget

Available on Widget, provided by the WidgetModifiers extension

Conditionally wraps the widget with another widget
onTap(VoidCallback? action) → Widget

Available on Widget, provided by the WidgetModifiers extension

Adds a gesture detector to a widget
withTooltip(String message) → Widget

Available on Widget, provided by the WidgetModifiers extension

Adds a tooltip to any widget