Is there a Dart Linter rule to force return type and method params for fields?

后端 未结 0 385
攒了一身酷
攒了一身酷 2021-01-22 08:48

I\'d like to make sure that this code can\'t exist in the codebase: final Function onPress instead it should have to be final void Function() onPress

相关标签:
回答
  • 消灭零回复
提交回复
热议问题