tree: a691b0058afda0377d84d82664670eddd1c9144f [path history] [tgz]
  1. _bitfield_io.dart
  2. _bitfield_web.dart
  3. _isolates_io.dart
  4. _isolates_web.dart
  5. _platform_io.dart
  6. _platform_web.dart
  7. annotations.dart
  8. assertions.dart
  9. basic_types.dart
  10. binding.dart
  11. bitfield.dart
  12. change_notifier.dart
  13. collections.dart
  14. consolidate_response.dart
  15. constants.dart
  16. debug.dart
  17. diagnostics.dart
  18. isolates.dart
  19. key.dart
  20. licenses.dart
  21. node.dart
  22. object.dart
  23. observer_list.dart
  24. platform.dart
  25. print.dart
  26. README.md
  27. serialization.dart
  28. stack_frame.dart
  29. synchronous_future.dart
  30. 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: