Giter Club home page Giter Club logo

flutter_federated_plugin_template's Introduction

#flutter_federated_plugin_template

A manually created template for federated flutter plugins. You can use this template to create federated plugins until flutter create is able to create plugins in federal structure.

Get started

First, clone this repository, then do the following:

  1. Delete all folders belonging to platforms you don't want to support
  2. Create a file named FEDERATED_LICENSE_TEMPLATE in this folder, which will automatically be copied to all subfolders
  3. Edit FEDERATED_README_TEMPLATE.md and FEDERATED_CHANGELOG_TEMPLATE.md to fit your needs
  4. Run dart generate.dart plugin_name bundle_identifier version repo_base with your plugin_name, bundle_identifier (e.g. eu.epnw) and version (e.g. 1.0.0) in this folder to create the template structure. If you plan to publish your package on github you can set repo_base so the repository fields in all pubspec.yaml are set up correctly. If you omit it, no repository field is set.
  5. Manually check the NAME/lib/src/workarounds folder and remove code form there that you don't need.
  6. Implement your plugin (and don't forget to implement NAME_paltform_interface/lib/src/NAME_platform_unsupported.dart as well)

flutter_federated_plugin_template's People

Contributors

epnw-eric avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.