Skip to content

Instantly share code, notes, and snippets.

@yjbanov
Created November 8, 2023 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yjbanov/7948e078f4b41813e2ad5fb1267c3734 to your computer and use it in GitHub Desktop.
Save yjbanov/7948e078f4b41813e2ad5fb1267c3734 to your computer and use it in GitHub Desktop.
interface class ui.FlutterView
|
base class EngineFlutterView
/ |
/ |
/ |
base class ui.SingletonFlutterWindow final class _EngineFlutterViewImpl
|
final class EngineFlutterWindow
@yjbanov
Copy link
Author

yjbanov commented Nov 8, 2023

                  interface class ui.FlutterView
                      /         |          \
                     /          |           \
                    /           |            \
                   /            |             \
interface class ui.SingletonFlutterWindow   base class EngineFlutterViewBase
          |                                 /        |
          |                                /         |
          |                               /          |
          |                              /           |
          |                             /            |
          |                            /             |
         final class EngineFlutterWindow    final class EngineFlutterView

// dart:ui
interface class FlutterView {}
interface class SingletonFlutterWindow implements FlutterView {}

// dart:_engine
base class EngineFlutterViewBase implements ui.FlutterView {}
final class EngineFlutterWindow implements ui.SingletonFlutterWindow extends EngineFlutterViewBase {}
final class EngineFlutterView extends EngineFlutterViewBase {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment