allowlist.dart 1.62 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

/// The SDK package allowlist for the flutter, flutter_test, flutter_driver, flutter_localizations,
/// and integration_test packages.
///
/// The goal of the allowlist is to make it more difficult to accidentally add new dependencies
/// to the core SDK packages that users depend on. Any dependencies added to this set can have a
/// large impact on the allowed version solving of a given flutter application because of how
/// the SDK pins to an exact version.
///
/// Before adding a new Dart Team owned dependency to this set, please clear with natebosch@
14 15 16 17
/// or jakemac53@. For other packages please contact hixie@ or zanderso@.
///
/// You may remove entries from this list at any time, but once removed they must stay removed
/// unless the additions are cleared as described above.
18
const Set<String> kCorePackageAllowList = <String>{
19
  // Please keep this list in alphabetical order.
20 21
  'async',
  'boolean_selector',
22 23 24 25 26 27 28 29 30
  'characters',
  'clock',
  'collection',
  'fake_async',
  'file',
  'flutter',
  'flutter_driver',
  'flutter_localizations',
  'flutter_test',
31
  'fuchsia_remote_debug_protocol',
32 33
  'integration_test',
  'intl',
34
  'leak_tracker',
35
  'leak_tracker_flutter_testing',
36
  'leak_tracker_testing',
37
  'matcher',
38
  'material_color_utilities',
39 40
  'meta',
  'path',
41 42 43
  'platform',
  'process',
  'sky_engine',
44
  'source_span',
45
  'stack_trace',
46 47 48 49
  'stream_channel',
  'string_scanner',
  'sync_http',
  'term_glyph',
50 51 52 53
  'test_api',
  'vector_math',
  'vm_service',
  'webdriver',
54
};