Flutter Engine
 
Loading...
Searching...
No Matches
FlutterViewFocusEvent Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 
FlutterViewId view_id
 The identifier of the view that received the focus event.
 
FlutterViewFocusState state
 The focus state of the view.
 
FlutterViewFocusDirection direction
 The direction in which the focus transitioned across [FlutterView]s.
 

Detailed Description

A view focus event is sent to the engine by the embedder when a native view focus state has changed.

Passed through FlutterEngineSendViewFocusEvent.

Definition at line 1201 of file embedder.h.

Member Data Documentation

◆ direction

FlutterViewFocusDirection FlutterViewFocusEvent::direction

The direction in which the focus transitioned across [FlutterView]s.

Definition at line 1213 of file embedder.h.

Referenced by FlutterEngineSendViewFocusEvent(), and flutter::testing::TEST().

◆ state

FlutterViewFocusState FlutterViewFocusEvent::state

The focus state of the view.

Definition at line 1210 of file embedder.h.

Referenced by FlutterEngineSendViewFocusEvent(), and flutter::testing::TEST().

◆ struct_size

size_t FlutterViewFocusEvent::struct_size

The size of this struct. Must be sizeof(FlutterViewFocusEvent).

Definition at line 1204 of file embedder.h.

Referenced by flutter::testing::TEST(), and flutter::testing::TEST_F().

◆ view_id

FlutterViewId FlutterViewFocusEvent::view_id

The identifier of the view that received the focus event.

Definition at line 1207 of file embedder.h.

Referenced by FlutterEngineSendViewFocusEvent(), and flutter::testing::TEST().


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