Skip to content
Boring Doc
RemovedHigh impactOfficial migration guidesince 3.35.0landed 3.34.0-0.0.pre

Removed semantics elevation and thickness

Framework · Official source

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

Original behavior

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.

New behavior

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

Who is affected
Any code still referencing the removed API will fail to compile after upgrading. Code that uses SemanticsConfiguration.elevation, SemanticsConfiguration.thickness, SemanticsNode.thickness and related APIs.
Practical impact
Compile errors until migrated; must be addressed before upgrading.
What action should I take?
Follow the official migration guide below, update affected call sites, run `dart fix --apply` where a fix is available, then run your tests.

Before and after (from the official guide)

dart+0−2
Before
1 void describeSemanticsConfiguration(SemanticsConfiguration config) {
2 config.label = 'my label';
3− config.elevation = 1;
4− config.thickness = 1;
5 }
After
1 void describeSemanticsConfiguration(SemanticsConfiguration config) {
2 config.label = 'my label';
 
 
3 }
Raw before / after
void describeSemanticsConfiguration(SemanticsConfiguration config) {
  config.label = 'my label';
  config.elevation = 1;
  config.thickness = 1;
}
void describeSemanticsConfiguration(SemanticsConfiguration config) {
  config.label = 'my label';
}
Official migration guide (excerpt, © The Flutter Authors, CC BY 3.0)

If you previously assigned these properties, remove the assignments.

Code before migration:

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

Code after migration:

void describeSemanticsConfiguration(SemanticsConfiguration config) {
  config.label = 'my label';
}
Migration assistantAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Official migration guide·Verified classification (90%)

Listed in the official breaking-changes index; title states removal.

An official announcement or migration guide documents an intended behaviour or API change. A verified source change (git diff) shows code changed but does not by itself prove a public API is breaking. AI interpretations are labelled and never used to classify a change.

Source commit
b3045439b7c0
Source last updated
Oct 21, 2026
Last synchronized
Oct 21, 2026
Publication status
published
Publication history
  • Oct 21, 2026, 8:31 PM: new → published (ingestion) — Backed by an official breaking-change/migration guide.
AI explanationAI-generated · grounded in cited sources
AI explanations are not configured
Set AI_PROVIDER (for example to openai-compatible with a local Ollama or LM Studio endpoint) to enable grounded explanations. Everything else on this page works without an AI provider.
Was this useful?