Summary

#

Both elevation and thickness semantics properties and their related APIs were removed.

Context

#

Both elevation and thickness semantics properties were created for Fuchsia's 3D rendering. They were never implemented and thus remained unused. There was also no other known usage for these properties. These properties added unnecessary code complexity and have been removed.

Description of change

#

The following properties are removed SemanticsConfiguration.elevation, SemanticsConfiguration.thickness, SemanticsNode.thickness, SemanticsNode.elevation, and SemanticsNode.elevationAdjustment.

Migration guide

#

If you previously assigned these properties, remove the assignments.

Code before migration:

dart
void describeSemanticsConfiguration(SemanticsConfiguration config) {
  config.label = 'my label';
  config.elevation = 1;
  config.thickness = 1;
}

Code after migration:

dart
void describeSemanticsConfiguration(SemanticsConfiguration config) {
  config.label = 'my label';
}

Timeline

#

Landed in version: 3.32.0 In stable release: TBD

References

#

API documentation:

Relevant issue:

Relevant PR: