Closed nutchanon-c closed 1 year ago
I looked inside the library and I saw
child: GestureDetector(
onTap: _toggle,
onVerticalDragDown: _dragDown,
onVerticalDragUpdate: _dragUpdate,
onVerticalDragEnd: _dragEnd,
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Container(
key: _headerKey,
child: widget.persistentHeader ?? Container()),
Container(
key: _contentKey,
child: widget.expandableContent,
),
],
),
),
Is there a way to disable those 4 functions?
update: I saw in the readme that there's isDraggable
but I can't seem to find it when actually using it
I have changed from pub.dev
to this repo and it is now present and working as desired. Thank you.
Is there a way to disable drag to open/close the
expandableContent
? Also, right now if I touch anywhere when it is open, it toggles and closes theexpandableContent
. Is there a way to disable that as well?