draggable_panel library
A floating panel window that can be dragged, parked and grown in place.
Classes
- ActionButtonRow
- One labelled, full-width action button.
- ActionCell
- One icon action: a tile, its optional badge, and its optional caption.
- ActionPanelContent
-
The expanded content of a
DraggableActionPanel: an optional header, a grid of icon actions, and a column of labelled buttons. - ActionPanelHeader
- The title row above the grid, with an optional close control.
- ContentExtent
- A PanelExtent driven by the measured size of the expanded content.
- CornerPlacement
- A PanelPlacement anchored to one of the four corners.
- DraggableActionPanel
- A DraggablePanel preset that expands into a grid of icon actions above a column of labelled buttons — the shape a debug or tools panel usually takes.
- DraggableActionPanelThemeData
- Tokens for the action-grid preset.
- DraggablePanel
- A floating panel window that can be dragged, parked and grown in place.
- DraggablePanelController
- Reads and commands a PanelStatus.
- DraggablePanelScope
- Exposes the enclosing panel's controller to its own content.
- DraggablePanelThemeData
-
Visual and motion tokens for a
DraggablePanel. - FixedExtent
- A PanelExtent of a constant size.
- FractionExtent
- A PanelExtent expressed as a fraction of the available bounds.
- FreePlacement
- A PanelPlacement at an arbitrary normalized position.
- PanelAction
-
One icon action in a
DraggableActionPanelgrid. - PanelActionButton
- One full-width labelled button below the action grid.
- PanelBadge
- A small count or dot drawn over an action.
- PanelBehavior
- Which interactions a panel accepts.
- PanelDragArea
- Marks the part of an expanded panel that drags the whole window.
- PanelEdgeHandle
- The grab affordance shown on the sliver of a panel parked at a screen edge.
- PanelExtent
- How large the panel becomes when expanded.
- PanelMotionSpec
- Every tunable that decides how the panel moves.
- PanelPlacement
- Where a panel comes to rest, expressed as an intent rather than pixels.
- PanelSemantics
- The strings a panel announces to assistive technology.
- PanelStatus
- A complete, settled description of what the panel is doing.
- PanelViewport
- The resolved space a floating panel may occupy.
- StashedPlacement
- A PanelPlacement parked off-screen against a vertical edge.
Enums
- PanelCorner
- One of the four corners a collapsed panel can rest in.
- PanelEdge
- A vertical screen edge a collapsed panel can be stashed against.
- PanelPhase
- The discrete stage a panel is in.
- PanelSnapPolicy
- Where a panel is allowed to come to rest after a drag.
Typedefs
- PanelActionBuilder = Widget Function(BuildContext context, PanelAction action)
- Builds one action's cell, replacing ActionCell.
- PanelActionButtonBuilder = Widget Function(BuildContext context, PanelActionButton button)
- Builds one button's row, replacing ActionButtonRow.
- PanelChildBuilder = Widget Function(BuildContext context, PanelStatus status)
- Builds one of the panel's two faces.
- PanelHandleBuilder = Widget Function(BuildContext context, PanelEdge edge)
-
Builds the grab affordance shown on a panel parked against
edge.