2

I have a horizontal scrolling PageView inside vertical scrolling SingleChildScrollView

  Expanded(
            child: SingleChildScrollView(
              scrollDirection: Axis.vertical,
              child: Column(
                children: <Widget>[
                  _buildItemImage(),
                   PageView.builder(
                     dragStartBehavior: widget.dragStartBehavior,
                     key: ValueKey<DateTime>(widget.selectedDate),
                     controller: widget.DiDidayPickerController,
                     physics: NeverScrollableScrollPhysics(),
                     scrollDirection: Axis.horizontal,
                     itemCount: _monthDelta(widget.firstDate, widget.lastDate) + 1,
                     itemBuilder: _buildItems,
                     onPageChanged: _handleMonthPageChanged,
            )...

The problem is when I trying to scroll vertically in the area of PageView it intercepts the scroll event and doesn't let to scroll SingleChildScrollView. How to fix it?

enter image description here

WorieN
  • 1,276
  • 1
  • 11
  • 30

0 Answers0