I am rendering a node in Flutter app something like:
We have total ${_summary[\'bookCount\']} books.
_summ
In for loop you can try:
Text('Index ${i}'), //Index 0
Format with operation:
Text('Total: \$${price * quantity}'), //$20
With Decimal point:
Text('\$${cart.totalAmount.toStringAsFixed(2)}'), //2.34