flutter/packages/flutter_tools/test/general.shard/windows
Mikhail Novoseltsev d9321159bf
[tool] Add dartFileName setting for platform plugins (#153099)
This PR introduces the `dartFileName` parameter for platform plugin configurations with Dart platform implementations. This new parameter allows plugin developers to specify a custom path to the file where the `dartPluginClass` is defined.

**Implementation is opt-in**. `dartFileName` is completely optional and is taken in account only with `dartClassName`. Possibility to set `dartClassName` without `dartFileName` remains. 

**Implementation is backward compatible** – existing configurations using only `dartClassName` remain fully supported. If `dartFileName` is omitted, the system falls back to the previous behavior of deriving the file name from the plugin name.

## Example

```yaml
flutter:
  plugin:
    platforms:
      some_platform:
        dartPluginClass: MyPlugin
        dartFileName: 'src/my_plugin_implementation.dart'
```

fixes #152833
2024-09-06 18:27:09 +00:00
..
migrations Convert ProjectMigration and ProjectMigrator to be async (#146537) 2024-04-10 16:26:19 +00:00
application_package_test.dart [flutter_tools] migrate more unit tests to null safety (#106153) 2022-06-17 21:34:27 -07:00
plugins_test.dart [tool] Add dartFileName setting for platform plugins (#153099) 2024-09-06 18:27:09 +00:00
visual_studio_test.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
visual_studio_validator_test.dart Remove duplicate global declaration of UserMessages (#142281) 2024-01-26 21:41:16 +00:00
windows_device_test.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
windows_workflow_test.dart Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00