flutter_plugin_generator 0.0.8 copy "flutter_plugin_generator: ^0.0.8" to clipboard
flutter_plugin_generator: ^0.0.8 copied to clipboard

outdated

Flutter Plugin generator generates a plugin implementation for you.

[0.0.8] #

  • Serialization and deserialization of pretty much any combination of Lists, Maps and Classes (without generics).

[0.0.7+1] #

  • Removed example apk.

[0.0.7] #

  • Updated analyzer to 0.37.1.

  • Improved generated code formatting.

  • Updated documentation.

  • Included example.

  • Breaking Change

    • New @FlutterPlugin() annotation should be placed at every plugin class, it is obligatory to write a plugin.
    • MethodCallPlugin was renamed to MethodChannelFutures, this annotation is no longer obligatory to write a plugin. This means you can have a plugin with only EventChannels.
    • Having a declared Stream<T> field without an annotation EventChannelStream no longer raise an exception. After thinking about flexibility I reached the conclusion that it could limit plugin developments.

[0.0.6] #

  • Added support to EventChannel using EventChannelStream annotation in fields and getters.
  • Added support to use fields and getters for MethodChannel calls.
  • Included README.md.
  • Updated documentation.

[0.0.5] #

  • Added support to filter which platforms the plugin has support.
  • Renamed build.dart to flutter_plugin_generator.dart to conform with pub.dev warning.
  • Breaking change Now the generated plugin will have a static const MethodChannel shared across instances, unless at least one path replacement is the in the [MethodCallPlugin.channelName] string.

[0.0.4] #

  • Removed Flutter dependency.
  • Added the ability to list in which platforms a given method will work.
  • Better type matching for Map inner types.

[0.0.3] #

  • Downgrade meta lib version.

[0.0.2] #

  • Improved type matching for maps and lists.
  • Included some documentation.

[0.0.1] #

  • Initial release.
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Flutter Plugin generator generates a plugin implementation for you.

Repository (GitHub)
View/report issues
Contributing

License

MIT (LICENSE)

Dependencies

analyzer, build, flutter_plugin_annotations, meta, source_gen

More

Packages that depend on flutter_plugin_generator