flown 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 48

pub package Build Status

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.


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.1.0 #

  • First release

0.0.3 #

  • Added windows support

0.0.2 #

  • Updated README

0.0.1 #

  • Initial version


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:

  flown: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub 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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Apr 8, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Health suggestions

Fix bin/flown.dart. (-1 points)

Analysis of bin/flown.dart reported 2 hints:

line 84 col 7: Use isEmpty instead of length

line 166 col 15: Unnecessary new keyword.

Maintenance suggestions

Package is getting outdated. (-7.40 points)

The package was last published 56 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.55.0 <3.0.0
args ^1.5.0 1.6.0
path ^1.6.2 1.6.4
yaml ^2.1.15 2.2.0
yamlicious ^0.1.0 0.1.0
Transitive dependencies
charcode 1.1.3
collection 1.14.12
matcher 0.12.6
meta 1.1.8
quiver 2.1.3
source_span 1.7.0
stack_trace 1.9.3
string_scanner 1.0.5
term_glyph 1.1.0
Dev dependencies
test ^1.3.4