flutter/packages/flutter_tools/test/general.shard/widget_preview
Ben Konyi 4baf4b4d1c
[ Widget Preview ] Refactor @Preview() detection and code generation (#168307)
This change makes the detection of `@Preview(...)` annotations more
robust by converting the analyzer AST directly to generated code rather
than simply copying and pasting the original source. This allows for
proper handling of the following cases WRT import prefixing:

  - The use of `const`
  - String interpolation
  - Other uses of constant variables in non-trivial contexts
  - Etc.
2025-05-16 19:59:25 +00:00
..
preview_manifest_test.dart Remove legacy scenec stuff from flutter_tool (#163569) 2025-02-21 17:41:02 +00:00