1
🖱️ Interaction & Input
Makes the widget clickable, ensures the mouse cursor changes to a pointer (hand icon), and provides callbacks for hover events.
Wraps the widget in a
SelectionArea, allowing the user to select and copy text within it. Useful for desktop/web.2
📏 Sizing & Positioning
Wraps the widget in an
Expanded widget, forcing it to fill the available space along the main axis of a Row or Column.Wraps the widget in a
Flexible widget, allowing it to grow or shrink, constrained by available space.Wraps the widget in an
Align widget, positioning the child within its own bounds.3
🎨 Styling & Wrappers
Wraps the widget in a
Padding widget.Wraps the widget in a
ClipRRect widget to apply rounded corners.Controls the visibility of the widget without removing it from the tree.
Ensures the widget is visible (convenience method).
4
