You're absolutely right! The concept is indeed a fundamental programming principle that applies across many languages, including Flutter. I highlighted it in the context of React, but the core idea remains the same. Thanks for pointing that out, and it's great to hear from a Flutter dev!
You should also have explained that calling the function without parentheses works if the function we're passing has the same signature as the one defined as prop
Lovely explanation thanks
Glad you liked it!
I think this is not just in react but a basic programming concept which works for most languages. Btw Flutter dev here.
You're absolutely right! The concept is indeed a fundamental programming principle that applies across many languages, including Flutter. I highlighted it in the context of React, but the core idea remains the same. Thanks for pointing that out, and it's great to hear from a Flutter dev!
well said
Excellent brother, thanks❤🎉
You should also have explained that calling the function without parentheses works if the function we're passing has the same signature as the one defined as prop
What’s in your thumbnail is completely different from what you have explained
😢
yes, but there is no diff between the processing of {myFunction} and {() => myFunction()} except an additional function call in the second one.
Nice 👍