[web] Rename EngineFlutterWindow => EngineSingletonFlutterWindow#45981
[web] Rename EngineFlutterWindow => EngineSingletonFlutterWindow#45981mdebbar wants to merge 3 commits intoflutter:mainfrom
Conversation
ditman
left a comment
There was a problem hiding this comment.
If you want to land this rename, land it, but I think its utility is going to be limited (or short lived).
Take into account that ui.SingletonFlutterWindow is now deprecated:
Lines 397 to 402 in 10c4803
Maybe a better approach here is to make class EngineFlutterView extends ui.FlutterView? (that's probably a much bigger change, because we're going to be missing a lot of getters!)
|
@ditman you are right, this class is going away. What prompted me to do this rename was your comment. I felt maybe it was not clear that this is a singleton so I wanted to make it clear. |
|
Ahhh, I got you! I think the current name is "correct", except it should eventually |
Make it clear that this class is a singleton.
Part of flutter/flutter#134443