Did you know?

Since Dart 3.7, the _ character is a wildcard variable.

This means that:

  • You can use it more than once in your code (e.g. inside parameter lists), without causing name collisions.
  • You can’t use it as an actual variable (it’s only a placeholder).
Wildcard Variables in Dart 3.7

Happy coding!