Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
flutter::testing::UniqueEngineTraits Struct Reference

#include <embedder_config_builder.h>

Static Public Member Functions

static FlutterEngine InvalidValue ()
 
static bool IsValid (const FlutterEngine &value)
 
static void Free (FlutterEngine &engine)
 

Detailed Description

Definition at line 17 of file embedder_config_builder.h.

Member Function Documentation

◆ Free()

static void flutter::testing::UniqueEngineTraits::Free ( FlutterEngine engine)
inlinestatic

Definition at line 22 of file embedder_config_builder.h.

22 {
24 FML_CHECK(result == kSuccess);
25 }
FlutterEngineResult FlutterEngineShutdown(FLUTTER_API_SYMBOL(FlutterEngine) engine)
Shuts down a Flutter engine instance. The engine handle is no longer valid for any calls in the embed...
Definition: embedder.cc:2309
FlutterEngine engine
Definition: main.cc:68
GAsyncResult * result
#define FML_CHECK(condition)
Definition: logging.h:85

◆ InvalidValue()

static FlutterEngine flutter::testing::UniqueEngineTraits::InvalidValue ( )
inlinestatic

Definition at line 18 of file embedder_config_builder.h.

18{ return nullptr; }

◆ IsValid()

static bool flutter::testing::UniqueEngineTraits::IsValid ( const FlutterEngine value)
inlinestatic

Definition at line 20 of file embedder_config_builder.h.

20{ return value != nullptr; }
uint8_t value

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