I need to actually print a Dollar sign in Dart, ahead of a variable. For example:
void main() { int dollars=42;
You can use a backslash to escape:
int dollars=42; print("I have \$$dollars."); // I have $42.
When you are using literals instead of variables you can also use raw strings:
print(r"I have $42."); // I have $42.