func2 2.0.1 copy "func2: ^2.0.1" to clipboard
func2: ^2.0.1 copied to clipboard

Typedefs defining commonly used function types to make it simpler to define members that return specific function types.

example/example.dart

import 'package:func2/func.dart';

void main() {
  Func2 add = (a, b) => a + b;

  print(add(1, 2));
}
1
likes
40
pub points
54%
popularity

Publisher

unverified uploader

Typedefs defining commonly used function types to make it simpler to define members that return specific function types.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

More

Packages that depend on func2