Flutter Engine
The Flutter Engine
|
#include <embedder.h>
Public Attributes | |
size_t | struct_size |
The size of the struct. Must be sizeof(FlutterSemanticsCustomAction). More... | |
int32_t | id |
The unique custom action or action override ID. More... | |
FlutterSemanticsAction | override_action |
const char * | label |
The user-readable name of this custom semantics action. More... | |
const char * | hint |
The hint description of this custom semantics action. More... | |
A custom semantics action, or action override.
Custom actions can be registered by applications in order to provide semantic actions other than the standard actions available through the FlutterSemanticsAction
enum.
Action overrides are custom actions that the application developer requests to be used in place of the standard actions in the FlutterSemanticsAction
enum.
FlutterSemanticsCustomAction2
instead. In order to preserve ABI compatility for existing users, no new fields will be added to this struct. New fields will continue to be added to FlutterSemanticsCustomAction2
. Definition at line 1445 of file embedder.h.
const char* FlutterSemanticsCustomAction::hint |
The hint description of this custom semantics action.
Definition at line 1456 of file embedder.h.
int32_t FlutterSemanticsCustomAction::id |
The unique custom action or action override ID.
Definition at line 1449 of file embedder.h.
const char* FlutterSemanticsCustomAction::label |
The user-readable name of this custom semantics action.
Definition at line 1454 of file embedder.h.
FlutterSemanticsAction FlutterSemanticsCustomAction::override_action |
For overridden standard actions, corresponds to the FlutterSemanticsAction
to override.
Definition at line 1452 of file embedder.h.
size_t FlutterSemanticsCustomAction::struct_size |
The size of the struct. Must be sizeof(FlutterSemanticsCustomAction).
Definition at line 1447 of file embedder.h.