Front mobile Flutter Mr.Milú package
This package collects a handful amount of methods, classes, interfaces and more that can and should be reused across any Mr.Milú project.
Features
- Validators
- Date
- Document
- Password
- Social security number
- Utils
- Extensions
- String
- Int
- DateTime
- Http overrides (mobile only)
- Platfrom
- Link utils (url_launcher)
- Color
- Extensions
- Services abstractions
- Dio (Api REST)
- Helpers
Usage
-
Add this package to pubspec.yaml with:
flutter_mrmilu: <version>
Replace
<version>
with version that you need -
Import package
import 'package:flutter_mrmilu/flutter_mrmilu.dart';
-
Use classes and methods. Can see example or read documentation of each class and method for more context
Contributing
To modify this package, you can open a new issue or a pull request.
Generate version
- Start release
git flow release start X.X.X
- Generate index if required:
fvm flutter pub run index_generator
- Generate changelog with
npm run release
- Use
npm run release -- -r minor
ornpm run release -- -r major
to generate minor or major version changes
- Use
- Commit changes
chore(release): X.X.X
- Create a pull request from release/X.X.X to main
- Merge pull request when approved
- Push tag X.X.X to main
- Pull request from master to develop
- Merge pull request when approved
Index
Need regenerate index when add or delete files. To do this, use command flutter pub pub run index_generator
Libraries
- flutter_mrmilu
- Mr Milú Flutter library