Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fluttertoast
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyanzhi
fluttertoast
Commits
b51a54a6
Commit
b51a54a6
authored
Jan 25, 2019
by
Karthik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.2.9
parent
667e1ce0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
3 deletions
+9
-3
CHANGELOG.md
+4
-0
README.md
+1
-1
android/build.gradle
+1
-0
ios/Classes/FluttertoastPlugin.m
+2
-1
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
b51a54a6
## [2.2.9]
*
iOS build Failed fix
## [2.2.8]
## [2.2.8]
*
`Fluttertoast.cancel()`
added
*
`Fluttertoast.cancel()`
added
...
...
README.md
View file @
b51a54a6
...
@@ -13,7 +13,7 @@ If your project uses androidx then use `fluttertoast` version `2.2.4` or `2.2.5`
...
@@ -13,7 +13,7 @@ If your project uses androidx then use `fluttertoast` version `2.2.4` or `2.2.5`
```
yaml
```
yaml
# add this line to your dependencies
# add this line to your dependencies
fluttertoast
:
^2.2.
8
fluttertoast
:
^2.2.
9
```
```
```
dart
```
dart
...
...
android/build.gradle
View file @
b51a54a6
...
@@ -35,4 +35,5 @@ android {
...
@@ -35,4 +35,5 @@ android {
dependencies
{
dependencies
{
implementation
'com.android.support:appcompat-v7:27.1.1'
implementation
'com.android.support:appcompat-v7:27.1.1'
implementation
'com.android.support:support-compat:27.1.1'
}
}
ios/Classes/FluttertoastPlugin.m
View file @
b51a54a6
...
@@ -38,6 +38,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
...
@@ -38,6 +38,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
-
(
void
)
handleMethodCall
:
(
FlutterMethodCall
*
)
call
result
:
(
FlutterResult
)
result
{
-
(
void
)
handleMethodCall
:
(
FlutterMethodCall
*
)
call
result
:
(
FlutterResult
)
result
{
if
([
@"cancel"
isEqualToString
:
call
.
method
])
{
if
([
@"cancel"
isEqualToString
:
call
.
method
])
{
[[
UIApplication
sharedApplication
].
delegate
.
window
.
rootViewController
.
view
hideAllToasts
];
[[
UIApplication
sharedApplication
].
delegate
.
window
.
rootViewController
.
view
hideAllToasts
];
result
(
true
);
}
else
if
([
@"showToast"
isEqualToString
:
call
.
method
])
{
}
else
if
([
@"showToast"
isEqualToString
:
call
.
method
])
{
NSString
*
msg
=
call
.
arguments
[
@"msg"
];
NSString
*
msg
=
call
.
arguments
[
@"msg"
];
NSString
*
gravity
=
call
.
arguments
[
@"gravity"
];
NSString
*
gravity
=
call
.
arguments
[
@"gravity"
];
...
@@ -83,7 +84,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
...
@@ -83,7 +84,7 @@ static NSString *const CHANNEL_NAME = @"PonnamKarthik/fluttertoast";
style
:
style
style
:
style
];
];
}
}
result
(
true
)
result
(
true
)
;
}
else
{
}
else
{
result
(
FlutterMethodNotImplemented
);
result
(
FlutterMethodNotImplemented
);
...
...
pubspec.yaml
View file @
b51a54a6
name
:
fluttertoast
name
:
fluttertoast
description
:
Toast Library for FLutter
description
:
Toast Library for FLutter
version
:
2.2.
8
version
:
2.2.
9
author
:
Karthik Ponnam <ponnamkarthik3@gmail.com>
author
:
Karthik Ponnam <ponnamkarthik3@gmail.com>
homepage
:
https://github.com/PonnamKarthik/FlutterToast
homepage
:
https://github.com/PonnamKarthik/FlutterToast
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment