Skip to content

Instantly share code, notes, and snippets.

@adibpwd
Last active August 19, 2020 11:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adibpwd/775998c2959443402f83981dcac97f93 to your computer and use it in GitHub Desktop.
Save adibpwd/775998c2959443402f83981dcac97f93 to your computer and use it in GitHub Desktop.
aaaaa.dart
void main() {
print('hello world');
void myHigherOrderFunction(String message, (9, 9));
}
// coba 1
// void myHigherOrderFunction(String message,Function printLambda = (int a, int b) {
// print('This is lambda function');
// }) {
// print(message);
// print(myFunction(3, 4));
// }
// coba 2
// void myHigherOrderFunction(String message, (int num1, int num2) {
// return num1 + num2;
// }{
// print(message);
// print(myFunction(3, 4));
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment