Skip to content

Allows you to use any Flutter & Dart project as a template with a single line command.

License

Notifications You must be signed in to change notification settings

baranacikgoz/use_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use Template

Allows you to use any Flutter & Dart project as a template with a single line command.
It basically clones/copies the project and than changes all imports and platform specific names.

Android iOS Linux macOS Windows Web

Installation

Open terminal and type the following code.

> dart pub global activate use_template

Usage

You are asked for three parameters.

  • New name:
    • This will be the new name of your application.
  • Template:
    • You can provide a git repository address containing the template project or a directory from your computer.
  • Directory to install template:
    • Provide a directory to install.

1. One line code usage

With a template from a git repository
> use_template my_new_application https://github.com/baranacikgoz/BloC_repository_pattern_template C:\Users\baran\Software\
With a template from your computer
> use_template my_new_application C:\path_to_template\flutter_template_app C:\Users\baran\Software\

2. Interactive usage

You can use interactive interface by passing no arguments.

> use_template

1

2

3

4

About

Allows you to use any Flutter & Dart project as a template with a single line command.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages