Dynamic height list view improvements#8
Open
dhruvanbhalara wants to merge 2 commits intoYudizAndroidSunny:mainfrom
Open
Dynamic height list view improvements#8dhruvanbhalara wants to merge 2 commits intoYudizAndroidSunny:mainfrom
dhruvanbhalara wants to merge 2 commits intoYudizAndroidSunny:mainfrom
Conversation
Replaces the empty `Container()` with `const SizedBox.shrink()` to reduce the visual footprint of the widget when the list is empty. This change makes the widget more lightweight and efficient.
…ter performance Refactor the list view and grid view examples to use SizedBox and ColoredBox instead of directly setting the color on the container. This improves the performance of the widgets by reducing the number of unnecessary widgets in the tree.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description:
This pull request introduces the following improvements to the
DynamicHeightListViewwidget:Reduced Visual Footprint: The empty
Container()has been replaced withconst SizedBox.shrink()to reduce the visual footprint of the widget when the list is empty. This change makes the widget more lightweight and efficient.Improved Performance: The list view and grid view examples have been refactored to use
SizedBoxandColoredBoxinstead of directly setting the colour on the container. This improves the performance of the widgets by reducing the number of unnecessary widgets in the tree.These changes aim to enhance the overall user experience and performance of the
DynamicHeightListViewwidget and its related components.