What is the optimal render loop in Dart 2?
问题 I am looking for ideas regarding an optimal/minimal structure for the inner render loop in Dart 2, for a 2d game (if that part matters). Clarification / Explanation: Every framework / language has an efficient way to: 1) Deal with time. 2) Render to the screen (via memory, a canvas, an image, or whatever). For an example, here is someone that answered this for the C# language. Being new to Flutter / Dart, my first attempt (below), is failing to work and as of right now, I can not tell where