Hello Flutter/Dart Devs , I'm developing a flutter package . Nearly 80% of the functionality can be achieved in dart itself so that I've written those in dart . And now , for a specific authentication related feature , I need to consume platform-specific code for both android & iOS since the SDK for that feature is available only for android and iOS. So this lead me to a confusion to choose whether I've to create a Flutter Package Template / Flutter Plugin Template.
Most of the Flutter plugins code contains a dart interface containing only method channel calls and every implementation is platform-specific. I felt , for 30% of code my package turns into a plugin . So finally , should I create a Flutter Plugin Template and put all the dart code and platform specific code or what's the better way?