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

Footer sidebar items #30

Merged
merged 4 commits into from
Oct 6, 2022
Merged

Footer sidebar items #30

merged 4 commits into from
Oct 6, 2022

Conversation

DavidCatalano
Copy link
Contributor

Per this issue outlining the feature details I am submitting this pull request after @Frezyx indicated it could be added.

Thanks for creating a really cool package!

Comment on lines 168 to 172
item.onTap?.call();
widget.controller.selectIndex(widget.items.length +
widget.footerItems.length -
index -
1);
Copy link
Owner

Choose a reason for hiding this comment

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

This part can be extracted

Copy link
Owner

Choose a reason for hiding this comment

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

Please extract this code in method

Comment on lines +162 to +166
selected: widget.controller.selectedIndex ==
widget.items.length +
widget.footerItems.length -
index -
1,
Copy link
Owner

Choose a reason for hiding this comment

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

This part same

@Frezyx
Copy link
Owner

Frezyx commented Oct 6, 2022

Hello @DavidCatalano !
Thank you for this contribution ❤️

@Frezyx Frezyx merged commit e24a771 into Frezyx:main Oct 6, 2022
@Frezyx Frezyx linked an issue Oct 6, 2022 that may be closed by this pull request
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.

Pending pull request to add footer items
2 participants