https://github.com/kishan2612/flutter-just-toast
A minimal flutter toast plugin
https://github.com/kishan2612/flutter-just-toast
flutter flutter-demo flutter-package flutter-plugin toast
Last synced: 3 months ago
JSON representation
A minimal flutter toast plugin
- Host: GitHub
- URL: https://github.com/kishan2612/flutter-just-toast
- Owner: kishan2612
- License: mit
- Created: 2018-12-15T13:11:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-17T16:54:44.000Z (over 6 years ago)
- Last Synced: 2024-12-27T02:18:29.045Z (5 months ago)
- Topics: flutter, flutter-demo, flutter-package, flutter-plugin, toast
- Language: Ruby
- Size: 4.23 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter_just_toast
A minimal flutter toast plugin for both Android and IOS
## Usage
In pubspec.yaml
```
flutter_just_toast: ^1.0.1```
Import flutter_just_toast/flutter_just_toast.dart
#### Simple toast
```
Toast.show(message:"Hello world",duration: Delay.SHORT);
````
#### Customized Toast```
Toast.show(message:"Hello world",duration: Delay.SHORT,
backgroundColor: Colors.blue,
textColor: Colors.black);```
Duration :
```
Delay.SHORT,
Delay.LONG
```### Note
v1.0.1 : Toast customisation is implemented only in IOS.

IOS Interdependency :
[Toaster](https://github.com/devxoul/Toaster)