getStretchableWidget method
Implementation
Widget getStretchableWidget() {
if (widget.widgetsBuilder != null) {
return widget.widgetsBuilder!.call(context, this);
}
/// If builder is null, then triggerWidget & stretchWidget must not be null
Widget stretchWidget = widget.stretchWidget!;
if (isCallerManuallyShowOrHide) {
return stretchWidget;
}
return GestureDetector(
onTap: hide,
child: stretchWidget,
);
}