Try FutureOr<T> in place of full async setup() and draw()
matthew-carroll opened this issue · comments
Matt Carroll commented
Consider returning FutureOr<>
from the Processing methods that might not require async behavior such as setup()
and draw()
.
https://api.dart.dev/stable/2.12.2/dart-async/FutureOr-class.html
Matt Carroll commented
This is done.