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
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

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