Commit 5c47854f by Ponnam Karthik

iOs build error fixed

parent c1fa7678
## [2.0.2]
* iOs build error fixed
## [2.0.1]
* Ios Support added
......
......@@ -11,7 +11,7 @@ Android Toast Library for Flutter
```yaml
# add this line to your dependencies
fluttertoast: ^2.0.1
fluttertoast: ^2.0.2
```
```dart
......
......@@ -25,14 +25,14 @@ class _MyAppState extends State<MyApp> {
void showShortToast() {
Fluttertoast.showToast(
msg: "This is Long Toast",
msg: "This is Short Toast",
toastLength: Toast.LENGTH_SHORT,
timeInSecForIos: 1
);
}
void showTopShortToast() {
Fluttertoast.showToast(
msg: "This is Top Long Toast",
msg: "This is Top Short Toast",
toastLength: Toast.LENGTH_SHORT,
gravity: ToastGravity.TOP,
timeInSecForIos: 1
......
import Flutter
import UIKit
public class SwiftFluttertoastPlugin: NSObject {
}
name: fluttertoast
description: Toast Library for FLutter
version: 2.0.1
version: 2.0.2
author: Karthik Ponnam <ponnamkarthik3@gmail.com>
homepage: https://github.com/PonnamKarthik/FlutterToast
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment