render abstract method

Future<Widget> render(
  1. UiTargetSnapshot snapshot, {
  2. DeviceFrame? frame,
  3. double scale = 1.0,
})

Render the given snapshot under the supplied frame / scale hints. Implementations should return fallback widgets rather than throwing so that transient errors stay isolated inside the runtime.

Implementation

Future<Widget> render(
  UiTargetSnapshot snapshot, {
  DeviceFrame? frame,
  double scale = 1.0,
});