flutter_generate 0.1.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 48

Icon

A simple executable command-line application that helps you to create a consistent structure in your project lib directory It is creating dart files with command-line commands and It is compatible with effective_dart_style guide.

able to create files from the command line

pub global activate flutter_generate 

flutter_generate bloc --name Authentication 

flutter_generate page --name login --stful

flutter_generate widget --name UserCard --stless

flutter_generate repository --name authentication

flutter_generate model --name user_model

Example Image Creating Files

Example Image

Created from templates made available by Stagehand under a BSD-style license.

0.1.2 #

  • Structure ios path fix

0.1.1 #

  • readme updates

0.1.0 #

  • Able to generate bloc from commandline(with using equatable only)

  • Initial release

  • dartdoc Comments added

  • fix dependencies

  • example and license created

  • Initial version, created

example/README.md

example #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

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

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate flutter_generate

2. Use it

The package has the following executables:


$ flutter_generate

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_generate: ^0.1.2

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:flutter_generate/flutter_generate.dart';
  
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 Jan 16, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (recase).

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0-dev.0.5 <3.0.0
args ^1.5.2 1.5.2
recase ^2.0.1 2.0.1 3.0.0
Dev dependencies
pedantic ^1.7.0
test ^1.5.0