An open API service indexing awesome lists of open source software.

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

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.

![alt text](https://github.com/kishan2612/flutter-just-toast/blob/master/screenshots/screen1.png)
![alt text](https://github.com/kishan2612/flutter-just-toast/blob/master/screenshots/screen1.png)

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