[plugin_platform_interface] Adopt code-excerpts (#4534)

Updates the README to use code excerpts from the unit test file, adjusting the existing test code slightly to make it suitable for use in the example.

Also fleshes out the example a bit more, to make it look more like a real class.

Finally, adds a note about `base`, linking to the ongoing discussion, since we don't have a decision yet, but people may well wonder why this class exists given `base`.

Part of https://github.com/flutter/flutter/issues/102679
This commit is contained in:
stuartmorgan
2023-07-20 14:14:10 -07:00
committed by GitHub
parent 442d9db347
commit 05fdd1337f
5 changed files with 69 additions and 27 deletions

View File

@ -22,8 +22,6 @@
- ios_platform_images
- multicast_dns
- palette_generator
- pigeon
- plugin_platform_interface
- pointer_interceptor
- quick_actions/quick_actions
- webview_flutter_android