Sync or Async variant file functions inside onPressed calls in Flutter?

后端 未结 0 1133
后悔当初
后悔当初 2021-01-29 12:37

I need to process files on onPressed event of a button. I see that functions like readAsBytes and length has sync and async variants. Which ones should I use for such processing

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