tree: 500799d95fb04082d2630191d3e20f9074ae2691 [path history] [tgz]
  1. _bitfield_io.dart
  2. _bitfield_web.dart
  3. _capabilities_io.dart
  4. _capabilities_web.dart
  5. _isolates_io.dart
  6. _isolates_web.dart
  7. _platform_io.dart
  8. _platform_web.dart
  9. annotations.dart
  10. assertions.dart
  11. basic_types.dart
  12. binding.dart
  13. bitfield.dart
  14. capabilities.dart
  15. change_notifier.dart
  16. collections.dart
  17. consolidate_response.dart
  18. constants.dart
  19. debug.dart
  20. diagnostics.dart
  21. isolates.dart
  22. key.dart
  23. licenses.dart
  24. math.dart
  25. memory_allocations.dart
  26. node.dart
  27. object.dart
  28. observer_list.dart
  29. persistent_hash_map.dart
  30. platform.dart
  31. print.dart
  32. README.md
  33. serialization.dart
  34. service_extensions.dart
  35. stack_frame.dart
  36. synchronous_future.dart
  37. unicode.dart
packages/flutter/lib/src/foundation/README.md

The rule for packages in this directory is that they can depend on nothing but core Dart packages. They can‘t depend on dart:ui, they can’t depend on any package:, and they can't depend on anything outside this directory.

Currently they do depend on dart:ui, but only for VoidCallback (and maybe one day lerpDouble), which are all intended to be moved out of dart:ui and into dart:core.

There is currently also an unfortunate dependency on the platform dispatcher logic (SingletonFlutterWindow, Brightness, PlatformDispatcher, window), though that should probably move to the ‘services’ library.

See also: