私有构造函数 class Test{ Test._(); } 定义函数成员的参数签名 class Test{ final String Function(String a, int b) calc; Test(this.calc); }