Refactor FlutterView / FlutterWindow

This issue has been created 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-05
Star Count 145512
Watcher Count 3569
Fork Count 23398
Issue Count 11205

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[g-plugin-dragndrop] 移动端在非画布区域抬起时未触发 pointeroutside 事件 0 2022-06-23 2022-09-27
Bug in Intensity Measure 2D/3D - Max value in 32bit images 3 2021-01-25 2022-08-10
Assign measure to label macro recording 5 2018-10-21 2022-08-09
Dilate and shrink labels 17 2020-11-08 2022-09-06
Consolidate *-LIKE series via preprocessing 2 2022-06-27 2022-09-17
Request link are being closed by adblock 0 2022-04-20 2022-10-01
QUnit tests not detected in Visual Studio 2019 1 2021-05-19 2022-08-19
NSRangeException: index 2 beyond bounds on OSX 10.9.5, V2.6 2 2019-04-26 2022-09-26
3.5: aborts on checkout with "detected dubious ownership" 2 2022-08-07 2022-09-23
opkg program does not allow changing lockfile location; cannot run if /opt is readonly 6 2021-11-07 2022-09-26
Bulk delete from MIE Webapp 0 2019-10-17 2022-10-04
Automate login and script in container 2 2021-06-25 2022-09-10
make root fails 10 2021-10-30 2022-01-22
Type inference improvement 1 2021-07-06 2022-08-01
Просьба проверить тестовое задание 6 2021-02-05 2022-08-28
Improve the policy create UI/UX by preprocessing the policy definition file to autofill policy attribute details 0 2022-03-06 2022-07-19
Anyone managed to do this with Gmail? 3 2018-03-13 2022-07-20
Dependencies between steps (within one project) 1 2021-08-02 2022-09-14
Avoid escape characters and print raw data 0 2022-04-22 2022-09-12
CI Build Failure 3 2022-01-04 2022-01-14
HA: builtin "cheap" HA via dqlite 0 2021-12-22 2022-09-24
SCRFD tflite infer error: INT64 != INT32 16 2021-09-14 2022-10-03
Ignore Introspection queries in QueryComplexity rule 1 2022-07-20 2022-09-15
BUG: scipy.integrate.odeint returns wrong values when derivative function overwrites y 1 2022-05-13 2022-09-28
Unable to make android 12 fully owned device owner 4 2022-06-07 2022-10-04
Cleanup completed pipeline and tasks runs through dashboard 9 2020-10-08 2022-10-02
Sap.m.Input type = Number , behavior with UI language 2 2022-01-09 2022-09-26
@searchable | allow sorting search results by dates 2 2021-11-05 2022-09-28
Unknown result sink type when enable pipeline query engine 0 2021-11-15 2022-08-30
Link to adfs claims aware sample application broken (aka.ms/sampapp) 1 2021-12-01 2022-09-07
Mac Support? Blocked from importing JSON as I'm on a Mac... 3 2020-03-31 2022-09-28
Implement afterGenesisBlockExecute hook 1 2021-08-20 2022-10-05
RTX3070Ti unable to use ml-agents? 2 2021-09-05 2022-09-14
[Bug]: Support for extending the interfaces of event emitters 5 2021-11-30 2022-08-22
Impossible to find China with language 'fr' 0 2022-06-08 2022-09-30
invalid treatment of routeDistribution input 1 2021-09-24 2022-09-15
Use a list of observers instead of only one 5 2019-08-30 2022-09-26
Use role="timer" 1 2019-11-25 2022-01-19
Serialize unit variant in untagged enum as {} 2 2021-03-01 2022-10-03
Keep selection when copying text 2 2021-12-28 2022-09-28
IOS: Multi handle hanging when cleanup 4 2022-09-07 2022-09-21
Auto-detect Scala 3 2 2021-11-14 2021-12-25
No numberings in TOC 1 2022-01-11 2022-09-13
Echo checksums to build log 0 2021-11-16 2022-09-21
Dual Monitor Problem 2 2021-10-21 2022-09-10
could not install How to solve this installation error 0 2021-09-19 2022-09-10
DFP can't detect services in its own stack. 6 2018-02-28 2022-07-28
Why exclude CDS's that are being overlapped by RNA? 2 2017-06-16 2022-10-04
OWASP Dependency Check fails while accessing not found URL from Azure CI 5 2021-11-15 2022-07-24
Update KSPM Screenshots 0 2022-09-29 2022-09-27