Skip to content

Conversation

@iwpz
Copy link

@iwpz iwpz commented Sep 26, 2021

maybe u have to format codes again.

@iwpz
Copy link
Author

iwpz commented Sep 26, 2021

with resizeBegin && resizeEnd, you can use resizable_widget in a scrollView.
First put it into a scrollView, and make a bool canPageScroll = true;

 physics: canPageScroll ? ScrollPhysics() : NeverScrollableScrollPhysics(),

Then you can

  onResizeBegin: (index, details) {
    setState(() {
      canPageScroll = false;
    });
  },
  onResizeEnd: (index, details) {
    setState(() {
      canPageScroll = true;
    });
  },

And about details, I think maybe someone may need some points to add some handler, just like me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant