type '() => void' is not a subtype of type '() => Future'

前端 未结 0 1774
傲寒
傲寒 2020-12-02 21:16

Flutter- onPressed of floating action button this error is occured-

" type \'() => void\' is not a subtype of type \'() => Future\' "

code belo

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