console_dart 0.0.4 copy "console_dart: ^0.0.4" to clipboard
console_dart: ^0.0.4 copied to clipboard

outdated

A package for create files in command line. easy to create stateless and statefull widget in flutter in command line. This package is inspired by laravel artisan command. This package is under develop [...]

Console Dart: A package to help you create files and folders in your project with a single command.

Features #

Console Dart: Create stateless and stateful widgets with a single command.

Getting started #

Console Dart: List prerequisites and provide or point to information on how to start using the package.

Usage #

Console Dart: List the steps needed to use the package.

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

Step 2: Create a file in in root not in lib folder and name it console or any name you want. i suggest you to use console. don't need add .dart extension.

Step 3: Replace the content of the file with the following code:

import 'package:console_dart/console_dart.dart';

void main(List<String> arguments){
  load(arguments);
}

Step 4: How to run on terminal:

Usage: create_file [options]

Example: dart console -c my_widget -s, dart console -c my_widget -f console file iam using the name of the folder that i created in the root of my project. you can use any name you want.

dart console -c my_widget -s
dart console -c my_widget -f

dart console -c views/page/sample -s
dart console -c views/page/sample -f

Additional information #

Console Dart: If you want to contribute to this project, please contact me at: email

3
likes
0
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

A package for create files in command line. easy to create stateless and statefull widget in flutter in command line. This package is inspired by laravel artisan command. This package is under development. So, please don't use it in production. If you want to contribute, you are welcome. Thank you.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, flutter, path_provider

More

Packages that depend on console_dart