undefined_hidden_name
Details about the 'undefined_hidden_name' diagnostic produced by the Dart analyzer.
The library '{0}' doesn't export a member with the hidden name '{1}'.
Description
#The analyzer produces this diagnostic when a hide combinator includes a name that isn't defined by the library being imported.
Example
#
The following code produces this diagnostic because dart:math doesn't
define the name String:
import 'dart:math' hide String, max;
var x = min(0, 1);
Common fixes
#If a different name should be hidden, then correct the name. Otherwise, remove the name from the list:
import 'dart:math' hide max;
var x = min(0, 1);
除非另有说明,文档之所提及适用于 Dart 3.10.3 版本报告页面问题.