-
-
Save AbbasHoseini/1e92789c9bee3beff24fa719e0f0e332 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GOOD | |
// کد خوب | |
Widget build(BuildContext context) { | |
var cartModel = somehowGetMyCartModel(context); | |
return SomeWidget( | |
// کافی است یکبار با وضعیت فعلی سبد، رابط کاربری را بسازید | |
// ··· | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment