tree: 1895c599b8e7100cd207237fa93a2cccdd7ae94b [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. _timeline_io.dart
  10. _timeline_web.dart
  11. annotations.dart
  12. assertions.dart
  13. basic_types.dart
  14. binding.dart
  15. bitfield.dart
  16. capabilities.dart
  17. change_notifier.dart
  18. collections.dart
  19. consolidate_response.dart
  20. constants.dart
  21. debug.dart
  22. diagnostics.dart
  23. isolates.dart
  24. key.dart
  25. licenses.dart
  26. math.dart
  27. memory_allocations.dart
  28. node.dart
  29. object.dart
  30. observer_list.dart
  31. persistent_hash_map.dart
  32. platform.dart
  33. print.dart
  34. README.md
  35. serialization.dart
  36. service_extensions.dart
  37. stack_frame.dart
  38. synchronous_future.dart
  39. timeline.dart
  40. 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: