Resources Resources 2

Create a project

$ flutter create --template=package hb_password_input_textfield

Open the project after creating it

Put in your own code

$flutter packages pub publish –dry-run

Prompt error

Your pubspec.yaml includes an “author” section which is no longer used and may be removed.

Delete the author item

submit

The first thing you need is a global magic web tool (you know what I mean)

$curl www.google.com

The graph below shows what works

Enter the following command line to start committing $flutter Packages pub publish –server=https://pub.dartlang.org

Enter y

Uploaded successfully

Other problems

Package name “HBSegmented_control” should be lower-case. Maybe use “HBSegmented_control “?

For the first time to submit

If it is the first time to submit, there will be the following prompt, just follow the figure. (Again, magic tools.)