touch_to_expand_container library

An expandable container that maintains a single/continuous child instance while expanded (in every expanded and collapsed state), which Overlay widget in vanilla flutter doesn't and cannot, by placing 'targeter' - TouchToExpandContainer widget in wherever specific widget tree you want and rendering real contents in the background 'wrapper' by connecting both using CompositedTransformTarget and CompositedTransformFollower Widgets. like Hunter-Killer tactics in military term. the TouchToExpandContainer sets and receives all the properties and specifics of the Overlay and Conatiner like location, child, decorations, behavior when expanded etc, and TouchToExpandOverlayWrapper wrapper 'deploys' or 'renders' it with all the propertes it set and have.

Classes

CustomHandle
CustomHandlePainter
ExpandedStateProvider
InheritedWidget to provide expansion state to child widgets
InverseRectClipper
CustomClipper that 'prunes' z-index using ClipPath with an inverse rectangle cutout
TouchToExpandContainer
A container Widget that is maintaining a single widget child instance and expands to fill the screen when tapped
TouchToExpandContainerState
TouchToExpandData
Internal data provider for TouchToExpandContainer system
TouchToExpandOverlayState
TouchToExpandOverlayWrapper
A wrapper widget that manages the expand/collapse functionality for all TouchToExpandContainer widgets
TouchToExpandTargetData
Data model for TouchToExpandContainer targets