preface
- Last Valentine’s Day, children without a holiday quietly created a Flutter group. I remember that at the beginning there were only two people, me and Dead fish (another UWP developer). Slowly, slowly, more and more people like to write after knowing each other
bug
Little friend.
- Maybe some of us are not professional, some have raised fish, some have worked in construction sites, and some have sold things, but maybe we all have one characteristic, that is, we really love it
0
and1
. Under the pressure of life, we still use our spare time to study new things and share what we have learned. From creatingFlutter CandiesTo date, 26 packages have been releasedpub.dev.
Flutter Candies maintains 46 projects in total.
- To like what you do is happiness. To do what you like with a group of people is happiness. I don’t know, sometimes in order to write a bug, will be unconscious late at night. You never know when you don’t like writing code, but you should do it when you do. Wait, why did you make chicken soup…
Candy boy
During the weekend, Dabao suddenly lost an open source project, CandiesBot, which is based on QQ high-efficiency robot. Everyone is not happy to play, low-key, ramen, security also quickly joined the battlefield, after their fork, to make a different style of robots, so there are the following 4 group assistant.
Small honey candy
Low-key production, absolute boutique.
As the assistant in the top card, small honey is mainly responsible for the administrator related functions, working hours 007.
The following for the robot use help: / h shows this help/muteAll: < y | n >, y corresponding to turn off the lights, n corresponding to turn on the light, can only be initiated by the administrator Alias: / turn on the light, turn off the lights /.mute < QQ number > length, unit: minutes Alias: Banned/little black house, shut up, /, / seal, /, / / unmute ban < QQ number > alias: /, / release/solution, / unlock/kick < QQ number > alias: / playing/to play out, / kicking, / remove/rmCopy the code
Every day I cook chicken soup, always worried that one day will be replaced by someone else, but did not expect the day to come so soon.
- / turn on the light
- / to turn off the lights
Candy Andy.
Dabao’s works, I find these post-00s always have some strange ideas, junior high school, high school, college young people are very strong, really old, can not keep up. Working hours 007.
-
/help Displays the help
-
/ pub package name
This should be the most useful feature, and there will always be people in the group asking,
1. How to do this effect? 2. Is there any tripartite component with xyz effect? 3. Where can I find it?Copy the code
Now you can get the information for this package simply by typing the command /pub extended_image.
- Key words/bing
I can look it up without having to open a web page?
- Key words/music
Don’t always share weird songs!
Candy little face
By the name, some people can guess it. This is the work of ramen, the main focus is intimate XXX (a Yi), belongs to the chat type, will also help xiaomi maintain order in the group. Working hours 955.
Candy little ye
The work of a security guard, a Bohemian robot, who licks a dog and persuades him to leave. Working hours 955.
The Action to release the Pub
Shared by Alex, yeah, yeah, the one from the Flutter Team.
This is a Github Action that allows you to quickly publish and update your package to the pub anywhere you have a network.
Increase pub_publish. Yml
Add the path to your Flutter/Dart project as pub_publish.yml
name: Pub Publish plugin
on: workflow_dispatch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Publish
uses: Sakebook/[email protected]
with:
credential: The ${{ secrets.CREDENTIAL_JSON }}
flutter_package: true
skip_test: true
dry_run: false
Copy the code
Find your certificate
In your local environment, if you have successfully published the package once to pub.dev, then in the path
- Windows:
C:\Users\ User name \AppData\ Pub\Cache\credentials.json
- Mac:
~/.pub-cache/credentials.json
Will save some of the information you post.
Set the certificate on Github
- Open the Setting for your project
Copy the credentials.json contents into a new secret.
Run the action
- Actions= “Pub Publish Plugin =” Run Workflow Drop down = “Select Branch =” Run Workflow
- The execution of
- When an error occurs, you can click on the error task to view the error message
Github Page
If you have GithubPage deployed in your project, it is recommended to put the Web files in a separate Branch, otherwise the Web files will be packaged and distributed with each packaged release.
conclusion
They say there are eggs. There are no eggs. There will be no eggs in this life.
The invisible egg is harmonized
I am very happy to learn Flutter and write bugs together with a group of interesting friends. I wish I could keep writing, just like five people in college. Thanks to the enthusiastic members of the group, because your circle is better and better, because of your efforts, more people are willing to pay.
Welcome to joinFlutter CandiesTogether to produce cute little Flutter candies (QQ group: 181398081)
And finally, put Flutter Candies on it. It smells sweet.