Dart function as parameter A Dart function can be passed to other functions as a parameter. Such a function is called a higher-order function. In the example, the apply function takes the inc and dec functions as parameters. We specify that the second parameter is a function type.