Close icon for web applications
postacik opened this issue · 1 comments
postacik commented
Hi,
Thanks for this clean and useful package.
I want to use this package in a web dashboard where the user can add and delete tabs dynamically, like the ones in Google Chrome.
Would it be possible to do the following with TabBarView and ButtonsTabBar?
- Add a close icon on each tab and delete the tab bar item and its corresponding view when the icon is clicked.
- Add a + icon to the right of the ButtonsTabBar as the last widget and call a callback handler which may be supplied as a parameter so that the user of the package can add a new tab in that handler.
Thanks :)
afonsocraposo commented
Hi,
I don't know if it is possible or not.
If it's possible on the default Flutter tabs, it probably is with this plugin.
I didn't tested it, but feel free to do so!