A new flutter plugin project.

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Depend On Versions

  • flutter_boost origin/v1.22.4-hotfixes

Create Flutter Plugin Steps

  • Create flutter plugin
      flutter create --org com.codesdancing.flutter  --template=plugin --platforms=android,ios -i objc -a kotlin flutter_codesdancing
  • Implement
    • Define API flutter_codesdancing/lib/flutter_codesdancing.dart # file name must be same as plugin name
    • Add android/IOS platform code
    • Add document and licenses file
  • Publish
      flutter pub publish``
  • Search packages will find uploaded flutter plugin
  • How to use
      # depend on
        flutter_codesdancing: ^0.0.6
      # install
      flutter pub get
      # import  
      import 'package:flutter_codesdancing/flutter_codesdancing.dart';
  • Example Test
      # flutter_codesdancing:
      #   path: ../
      # change local dependency to remote
      flutter_codesdancing: ^0.0.6