-
-
Save AbbasHoseini/9358c42602cbccff150ea64bbd4ebd7c 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
// DO THIS | |
// روش صحیح: به این روش کد بزنید | |
return HumongousWidget( | |
// ... | |
child: AnotherMonstrousWidget( | |
// ... | |
child: Consumer<CartModel>( | |
builder: (context, cart, child) { | |
return Text('Total price: ${cart.totalPrice}'); | |
}, | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment