Replies: 1 comment 2 replies
-
Thanks for your suggestion, but I personally don't find this a good idea. :( Do you know of the SRP programming principle? Combining all of them into one could only be considered if they all have exactly thesame props. As you mentioned, there are differences (presently, and perhaps more in the future). What I am even thinking of doing now that you raised this issue is to rename |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please Describe The Problem To Be Solved
Now flet has 3 destinations:
NavigationDestination
,NavigationDrawerDestination
,NavigationRailDestination
. I suggest to unite all this destinations because they have almost same arguments (NavigationRailDestination
haslabel_content
,NavigationDestination
hastooltip
). But after realisation of this feature for me and other programmers will be very comfortable to use destinations. Also actually you need to improve documentation after realisation(Optional): Suggest A Solution
When user use
NavigationDrawerDestination
f. e. you can just will ignorelabel_content
andtooltip
. Also you can add support forlabel_content
inNavigationBar
andNavigationDrawer
. Also fortooltip
.Beta Was this translation helpful? Give feedback.
All reactions