Unreachable code in `AnimatedIcon`
See original GitHub issueDescribe the bug
While porting the AnimatedIcon
source code, I noticed that the UpdateMirrorTransform()
call cannot be reached by any possible path:
Should it be moved above or removed?
Steps to reproduce the bug
See code
Expected behavior
Should be reachable.
Screenshots
N/A
Version Info
main
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Flutter: Creating an add_close AnimatedIcons
@mFeinstein I'd like to create a beginning icon as Icon.add and end icon of Icon.close in the AnimatedIcon widget. For e.g. their is...
Read more >Exploring 'AnimatedIcon' in Flutter | by Usman Khan
AnimatedIcon is a widget provided by Flutter SDK which animates the switching of an icon with other. The seamless transition of switching ...
Read more >How to use AnimatedIcon widget in Flutter
This code snippet will play the animation when the user taps the widget and pause it when tapped again. Dispose of resources. Don't...
Read more >AnimatedIcon Class (Microsoft.UI.Xaml.Controls)
Represents an icon that displays and controls a visual that can animate in response to user interaction and visual state changes.
Read more >Create an Animated Icon to Scroll To Section with Lottie ...
brizy #brizycloud #learnbrizy #websitebuilder #pagebuilder #lottiefiles #elementanimation In this video, I'll show you how to create an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chingucoding yes, I noticed it thanks to IntelliSense underlining it 😀
@StephenLPeters happy to do it! Just remove the call or move it before the returns? Just checking whether it was there by intention or not