Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
FlutterSemanticsCustomAction2 Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of the struct. Must be sizeof(FlutterSemanticsCustomAction).
 
int32_t id
 The unique custom action or action override ID.
 
FlutterSemanticsAction override_action
 
const char * label
 The user-readable name of this custom semantics action.
 
const char * hint
 The hint description of this custom semantics action.
 

Detailed Description

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.

See also
https://api.flutter.dev/flutter/semantics/CustomSemanticsAction-class.html

Definition at line 1469 of file embedder.h.

Member Data Documentation

◆ hint

const char* FlutterSemanticsCustomAction2::hint

The hint description of this custom semantics action.

Definition at line 1480 of file embedder.h.

◆ id

int32_t FlutterSemanticsCustomAction2::id

The unique custom action or action override ID.

Definition at line 1473 of file embedder.h.

◆ label

const char* FlutterSemanticsCustomAction2::label

The user-readable name of this custom semantics action.

Definition at line 1478 of file embedder.h.

◆ override_action

FlutterSemanticsAction FlutterSemanticsCustomAction2::override_action

For overridden standard actions, corresponds to the FlutterSemanticsAction to override.

Definition at line 1476 of file embedder.h.

◆ struct_size

size_t FlutterSemanticsCustomAction2::struct_size

The size of the struct. Must be sizeof(FlutterSemanticsCustomAction).

Definition at line 1471 of file embedder.h.


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