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
Many questions regarding selected status and tab widget #5
Comments
Hi! Thanks for getting in touch. I will try to answer everything. If I forget something, let me know. A little context: My focus on this project is Web/Desktop. I come from Swing/JavaFX, so I missed Desktop components in Flutter. This project is a prerequisite for my other project (Docking). Something might not be very functional in Mobile. Example: button touch area because of small padding. I always try to allow maximum customization, so new ideas are welcome. I'm currently changing it to allow customizing the BoxDecoration of the buttons. I can create Issues for each item. I'll just finish the current change I'm doing ok? 1) custom textStyle for selected tabIt is currently possible to change the 2) possibility to pass a custom widgetIt is currently not possible. This was a design decision that I sometimes think about changing but there are pros and cons. I thought of using only Widgets to add buttons but it would be more complicated to implement the close and menu button. Not impossible but it would have more boilerplates. Maybe it would need builders. I didn't discard the idea, maybe a 2.0.0 version. 3) possibility to show close button on hoverIt's not possible. I hadn't thought about it. Good idea. Will the space for the button be reserved? Maybe even this should be customized. The same concern is to rebuild the layout when the size is changed. 4) possibility to have a custom preceding text of each tabIt's not possible either. I think in this case it could be any Widget, right? Another design decision to be made:
5) selected tab render bugThis is probably happening because the tab area is a layout made from scratch. The children are painted in the order they are added. The funny thing is that this could be a bug that became a feature. I think I could have a parameter like |
Hello @caduandrade ,Thanks for replying thoroughly. I'll make do with what is currently available and in subsequent releases use what will be added. As for the 5)Selected tab render bug, as you mentioned this could be something wanted by someone else. So as for now ill just go with the default gap so that it doesn't affect my design at all.(the bool? drawOnTopWhenSelected suggestion would be nice to have though lol ) Thanks again for the great plugin, and please do excuse me for the delay i ve taken to reply. Regards. |
hello @caduandrade ....i just ran an upgrade on my dependencies and i saw you released a new version of your package 1.10.0 ....great work ....Im thrilled to use it and modify the deprecated things i have in my current version..Thanks again |
First of all thanks for the great package. I was hoping to find something regarding this kind of widget on pub.dev and im glad i found it.
However ,i haven't been able to do certain stuff to get consistent with the app i am currently working on (web,and mobile).So i guess the followings are mainly enhancements demands as i wouldn't like to have to modify a fork of your work so as to stay consistent with your upcoming releases
Although if this can be done currently, please point me to the right way to do them without modifying your code:
-customize the textstyle for a tab when it is selected (like changing the weight to bold)
Please help if some of the above queries can currently be done.
Regards
The text was updated successfully, but these errors were encountered: