Skip to content

Commit

Permalink
Merge pull request #12 from mrmilu/release/0.8.0
Browse files Browse the repository at this point in the history
Release/0.8.0
  • Loading branch information
mdeandrea-mrmilu authored Jan 18, 2023
2 parents a4ca213 + 3990cbd commit 227f5c3
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .fvm/fvm_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutterSdkVersion": "3.3.9",
"flutterSdkVersion": "3.3.10",
"flavors": {}
}
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## [0.8.0](https://github.com/mrmilu/flutter_mrmilu/compare/0.7.0...0.8.0) (2023-01-18)


### Features

* add random item list on faker ([9bc0ecb](https://github.com/mrmilu/flutter_mrmilu/commit/9bc0ecbb8b51df4af7a4ae6fdcede50e3e469e86))


### Bug Fixes

* convert to static openMail method ([8ecf129](https://github.com/mrmilu/flutter_mrmilu/commit/8ecf1294a7728ff9ff4b4cde1bcd6327b2584ca5))

## [0.7.0](https://github.com/mrmilu/flutter_mrmilu/compare/0.6.0...0.7.0) (2022-12-15)

### Features
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.7.0"
version: "0.8.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
4 changes: 4 additions & 0 deletions lib/src/utils/extensions/faker_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ extension FakerExtension on Faker {
'${name.firstName()}.${name.lastName()}@${internet.domainName()}.${internet.domainSuffix()}',
);
}

T singleListOption<T>(List<T> list) {
return list[datatype.number(max: list.length)];
}
}
4 changes: 2 additions & 2 deletions lib/src/utils/link_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LinkUtils {
}

/// Open mail client to send email
Future<void> openMail(String email) async {
static Future<void> openMail(String email) async {
await openLink(Uri.parse('mailto:$email'));
}

Expand All @@ -39,7 +39,7 @@ class LinkUtils {
/// Number required a country code
/// Example [+34123456789]
static Future<void> openWhatsapp(String number) async {
await openLink(Uri.parse('https://api.whatsapp.com/send?phone=$number'));
await openLink(Uri.parse('https://wa.me/$number'));
}

/// Use google maps api to open app
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flutter_mrmilu",
"version": "0.7.0",
"version": "0.8.0",
"author": "Mr.Milú",
"license": "MIT",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_mrmilu
description: Mr Milú's official shared package for Flutter projects
version: 0.7.0
version: 0.8.0
issue_tracker: https://github.com/mrmilu/flutter_mrmilu/issues
repository: https://github.com/mrmilu/flutter_mrmilu

Expand Down

0 comments on commit 227f5c3

Please sign in to comment.