flown 0.0.3

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • new48

pub package

flown

A utility for cloning Flutter apps with local dependencies

flown will scan for and present available Flutter apps at a url. After the user selects an app, it will then recursively scan the app's pubspec.yaml for any local dependencies, copy the app and local dependencies to a new directory and install local dependencies.

LICENSE

Usage

A sample usage:

flown --arch vanilla --name vanilla_project

General usage

$ flown --help
usage: flown [--help] --arch <arch name> --name <project name>

sample usage: flown --arch vanilla --name vanilla_project

--arch=<arch name>             Available architectures:

      [bloc_flutter]           BloC pattern with Firestore backend.
      [built_redux]            Redux pattern with generated code.
      [firestore_redux]        Redux pattern with Firestore backend.
      [inherited_widget]       Inherited Widget pattern.
      [mvi_flutter]            MVI pattern with Firestore backend.
      [mvu]                    MVU pattern.
      [redurx]                 ReduRx pattern.
      [redux]                  Redux pattern.
      [scoped_model]           Scoped Model pattern.
      [simple_bloc_flutter]    Simple BloC pattern with Firestore backend.
      [vanilla]                Standard Flutter pattern.

--name=<project name>          Name of new project.
--help                         Display this help information.

Installation

pub global activate flown

Dependencies Flutter SDK should be installed. At minimum requires Dart. Also depends on git.

Features and bugs

Currently restricted to using Flutter apps found on https://github.com/brianegan/flutter_architecture_examples.

Please file feature requests and bugs at the issue tracker.

0.0.3

  • Added windows support

0.0.2

  • Updated README

0.0.1

  • Initial version

example/flown_example.dart

import 'package:flown/flown.dart';

main() {
  var awesome = new Awesome();
  print('awesome: ${awesome.isAwesome}');
}

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate flown

2. Use it

The package has the following executables:


$ flown

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flown: ^0.0.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flown/flown.dart';
  
Version Uploaded Documentation Archive
0.0.3 Oct 31, 2018 Go to the documentation of flown 0.0.3 Download flown 0.0.3 archive
0.0.2 Oct 30, 2018 Go to the documentation of flown 0.0.2 Download flown 0.0.2 archive
0.0.1 Oct 30, 2018 Go to the documentation of flown 0.0.1 Download flown 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
48
Learn more about scoring.

We analyzed this package on Nov 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.6

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:flown/flown.dart.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While there is nothing inherently wrong with versions of 0.0.*, it usually means that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.55.0 <3.0.0
args ^1.5.0 1.5.1
path ^1.6.2 1.6.2
yaml ^2.1.15 2.1.15
yamlicious ^0.1.0 0.1.0
Transitive dependencies
charcode 1.1.2
collection 1.14.11
matcher 0.12.4
meta 1.1.6
quiver 2.0.1
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.4
Dev dependencies
test ^1.3.4