Refactor FlutterView / FlutterWindow

This issue has been tracked since 2022-09-22.

In preparation for multi window we need to refactor the FlutterView/FlutterWindow classes in dart:ui:

  • Remove FlutterWindow class
  • Move its logic into FlutterView and make that class non-abstract
  • expose a viewId (instead of a window id like FlutterWindow does today) on the FlutterView that uniquely identifies the view

The goal is to center the engine around views, it will have no idea about windows.

goderbauer wrote this answer on 2022-09-23

Interestingly, FlutterWindow._windowId is currently typed Object. Should this (or better: the new viewID) just be an int?

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-10-04
Star Count 145499
Watcher Count 3567
Fork Count 23393
Issue Count 11206


Issue Title Created Date Updated Date