Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterWindowSize Struct Reference

#include <FlutterWindowController.h>

Static Public Member Functions

static FlutterWindowSize fromNSSize (const NSSize &size)
 

Public Attributes

double width
 
double height
 

Detailed Description

Definition at line 41 of file FlutterWindowController.h.

Member Function Documentation

◆ fromNSSize()

static FlutterWindowSize FlutterWindowSize::fromNSSize ( const NSSize &  size)
inlinestatic

Definition at line 45 of file FlutterWindowController.h.

45 {
46 return {
47 size.width,
48 size.height,
49 };
50 }
it will be possible to load the file into Perfetto s trace viewer use test Running tests that layout and measure text will not yield consistent results across various platforms Enabling this option will make font resolution default to the Ahem test font on all disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size

Member Data Documentation

◆ height

double FlutterWindowSize::height

Definition at line 43 of file FlutterWindowController.h.

Referenced by flutter::testing::TEST_F().

◆ width

double FlutterWindowSize::width

The documentation for this struct was generated from the following file: