Skip to content

DartBuild/cocoapods-embed-flutter

Repository files navigation

cocoapods-embed-flutter

Gem Version

Straight forward way of declaring flutter modules as dependency for targets, just like cocoapods does with pods.

Installation

$ [sudo] gem install cocoapods-embed-flutter

Usage

In your host project Podfile, write the below line before any target definition

plugin 'cocoapods-embed-flutter'

Embedding module from a local path.

pub 'flutter_module', :path => '../'

:path can be path pointing to pubspec.yaml or to the directory containing pubspec.yaml or to the directory containg flutter module.

Embedding module from a repository.

pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :branch => 'dev'
pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :tag => '0.7.0'
pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :commit => '082f8319af'

Sponsor this project

 

Packages

 
 
 

Contributors 2

  •  
  •