y_auth 1.0.2 y_auth: ^1.0.2 copied to clipboard
A Yesferal Auth package project.
Y Auth Project #
A Flutter package to handle the authentication
How this project was created? #
Set up Flutter #
export PATH="$PATH:./flutter/sdk/flutter/bin"
Create the flutter package #
First, run this Flutter command.
flutter create --template=package y_auth
Create the example Android & iOS package #
First, run this Flutter command in the y_auth
package folder.
flutter create example --platforms=android,ios
Next, link the module with the example app.
Import the library in example/pubspec.yaml
.
y_auth:
path: ../
After that, export the classes you want to share in lib/y_auth.dart
:
export 'presentation/widget/passwordless_widget.dart';
You can now use passwordless_widget.dart
in the example app.
Run the Example App #
Use the flutter command to run the example app
flutter run
Publish #
First, create a verified publisher profile.
After that, update the following files README.md
, CHANGELOG.md
& pubspec.yaml
If you want to add commits/changes to CHANGELOG.md
, then you can use the following pretty format
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit
Use the dart command to publish the package for the first time or to update it to a new version.
dart pub publish
Reference: https://dart.dev/tools/pub/publishing