Рет қаралды 1,724
In case you'll ever need to implement the "add to Siri" button in #flutter then here is an example solution with an explanation. This solution uses Platform views, so this video can also saver as an introduction to them. Potentially, other solutions are also possible (i.e. with PlaformChannels). In case you have a different approach, share it in the comments. Either way, we have to write some of #ios #swift or Objective-C.
There's yet no plugin for this, so feel free to create one in case you have time for maintaining plugins! :D
Gist for the swift part, excluding PlatformView part: gist.github.co...