Replies: 1 comment
-
You can open a PR to submit your enhancements |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If there is only one child provided to
SpeedDial.children
and a new booleanSpeedDial.callOnTapDirectlyIfOnlyOneChild
is true, call the only child'sonTap
without opening the Speed Dial.This would allow for much cleaner code when the available
SpeedDialChild
s are restricted in one way or another since we wouldn't have to calculate the conditions twice. I don't think having a speed dial with only one child is very nice.For now I'll make my own widget to handle this.
My use case is certain clients have certain options available in the app, but others are of no use to them. Hence they are hidden.
Edit : Might as well put that code out there :
Beta Was this translation helpful? Give feedback.
All reactions