Skip to content

Commit

Permalink
release: v2.0.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
payam-zahedi committed May 2, 2024
1 parent 6ce7c12 commit f43196b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .fvm/fvm_config.json

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0
* Feature: optional context by @SamadiPour
* Add optional BorderSide option by @LampeMW

## 1.2.1
* Enhancement: [Website] Adding Icon Picker Component by @mahmoud-eslami

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ by using the `show` method, you can show predefined toast messages. you can use

```dart
toastification.show(
context: context,
context: context, // optional if you use ToastificationWrapper
title: Text('Hello, world!'),
autoCloseDuration: const Duration(seconds: 5),
);
Expand All @@ -77,7 +77,7 @@ You can customize the appearance of the toast message by passing in additional p

```dart
toastification.show(
context: context,
context: context, // optional if you use ToastificationWrapper
type: ToastificationType.success,
style: ToastificationStyle.flat,
autoCloseDuration: const Duration(seconds: 5),
Expand Down Expand Up @@ -143,7 +143,7 @@ Here's an example of how to use showCustom() to create a custom toast message wi

```dart
toastification.showCustom(
context: context,
context: context, // optional if you use ToastificationWrapper
autoCloseDuration: const Duration(seconds: 5),
alignment: Alignment.topRight,
builder: (BuildContext context, ToastificationItem holder) {
Expand Down
7 changes: 6 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: toastification
description: Toastification is a Flutter package that allows you to easily show toast and notification messages in your application.
version: 1.2.1
version: 2.0.0
homepage: https://payamzahedi.com/toastification/
repository: https://github.com/payam-zahedi/toastification
topics:
- toast
- notification
- message
- toastification

environment:
sdk: '>=3.0.0 <4.0.0'
Expand Down

0 comments on commit f43196b

Please sign in to comment.