func2 2.0.1 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.
import 'package:func2/func.dart';
void main() {
Func2 add = (a, b) => a + b;
print(add(1, 2));
}