diff --git a/lib/ui/semantics.dart b/lib/ui/semantics.dart index ef2a77d440f02..7323f64a9ea0a 100644 --- a/lib/ui/semantics.dart +++ b/lib/ui/semantics.dart @@ -1146,7 +1146,7 @@ abstract class SemanticsUpdateBuilderNew { required double elevation, required double thickness, required Rect rect, - String identifier, + required String identifier, required String label, required List labelAttributes, required String value, @@ -1216,7 +1216,7 @@ base class _NativeSemanticsUpdateBuilderNew extends NativeFieldWrapperClass1 imp required double elevation, required double thickness, required Rect rect, - String? identifier, + required String identifier, required String label, required List labelAttributes, required String value, @@ -1255,7 +1255,7 @@ base class _NativeSemanticsUpdateBuilderNew extends NativeFieldWrapperClass1 imp rect.bottom, elevation, thickness, - identifier ?? '', + identifier, label, labelAttributes, value, @@ -1333,7 +1333,7 @@ base class _NativeSemanticsUpdateBuilderNew extends NativeFieldWrapperClass1 imp double bottom, double elevation, double thickness, - String? identifier, + String identifier, String label, List labelAttributes, String value,