Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add isFixedHeight parameter support for the JumpTo method of GridView #52

Merged

Conversation

percival888
Copy link
Contributor

add a feature support for GridView when it jump to specified index, now we can set isFixedHeight with true.

for GridView items of fixed height, there's no longer need to calculate with sliding, but calculates height and spacing, directly jumping to the specified position

# Conflicts:
#	example/lib/features/custom_scrollview/sliver_appbar_demo/sliver_appbar_demo_page.dart
#	lib/src/common/models/observe_displaying_child_model_mixin.dart
@percival888 percival888 reopened this Sep 27, 2023
@LinXunFeng LinXunFeng self-requested a review October 7, 2023 12:10
lib/src/common/observer_controller.dart Outdated Show resolved Hide resolved
lib/src/common/observer_controller.dart Outdated Show resolved Hide resolved
lib/src/common/observer_controller.dart Outdated Show resolved Hide resolved
lib/src/common/observer_controller.dart Outdated Show resolved Hide resolved
@LinXunFeng LinXunFeng self-assigned this Oct 19, 2023
Copy link
Member

@LinXunFeng LinXunFeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks for your contribution.

@LinXunFeng LinXunFeng merged commit 333fe02 into fluttercandies:main Oct 24, 2023
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.

2 participants