Remove as-clause in doc-import; they don't work yet (#164234)

I'll be adding a warning against using `@docImport as`, as it doesn't
yet work.
This commit is contained in:
Sam Rawlins 2025-02-27 08:54:10 -08:00 committed by GitHub
parent 2f43dc3ead
commit a321b25e6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// @docImport 'localizations/gen_l10n.dart' as gen_l10n;
/// @docImport 'localizations/gen_l10n.dart';
library;
import 'package:meta/meta.dart';
@ -433,7 +433,7 @@ class FlutterManifest {
/// See also:
///
/// * [Deprecate and remove synthethic `package:flutter_gen`](https://github.com/flutter/flutter/issues/102983)
/// * [gen_l10n.generateLocalizations]
/// * [generateLocalizations]
late final bool generateLocalizations = _flutterDescriptor['generate'] == true;
String? get defaultFlavor => _flutterDescriptor['default-flavor'] as String?;