Skip to content

Commit a321b25

Browse files
authored
Remove as-clause in doc-import; they don't work yet (flutter#164234)
I'll be adding a warning against using `@docImport as`, as it doesn't yet work.
1 parent 2f43dc3 commit a321b25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_tools/lib/src/flutter_manifest.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5-
/// @docImport 'localizations/gen_l10n.dart' as gen_l10n;
5+
/// @docImport 'localizations/gen_l10n.dart';
66
library;
77

88
import 'package:meta/meta.dart';
@@ -433,7 +433,7 @@ class FlutterManifest {
433433
/// See also:
434434
///
435435
/// * [Deprecate and remove synthethic `package:flutter_gen`](https://github.com/flutter/flutter/issues/102983)
436-
/// * [gen_l10n.generateLocalizations]
436+
/// * [generateLocalizations]
437437
late final bool generateLocalizations = _flutterDescriptor['generate'] == true;
438438

439439
String? get defaultFlavor => _flutterDescriptor['default-flavor'] as String?;

0 commit comments

Comments
 (0)