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
d4bba0db
Commit
d4bba0db
authored
Jan 13, 2019
by
Karthik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.2.6
parent
cda95041
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
25 deletions
+14
-25
CHANGELOG.md
+8
-0
README.md
+3
-1
android/build.gradle
+1
-19
android/gradle.properties
+0
-3
android/src/main/java/io/github/ponnamkarthik/toast/fluttertoast/FluttertoastPlugin.java
+1
-1
pubspec.yaml
+1
-1
No files found.
CHANGELOG.md
View file @
d4bba0db
## [2.2.6]
*
removed androidx
## [2.2.5]
*
Cannot build because of dependency w/ v28 #47
## [2.2.4]
*
androidX crash fix #45
...
...
README.md
View file @
d4bba0db
...
...
@@ -7,11 +7,13 @@ Android and iOS Toast Library for Flutter
> * Android
> * IOS
If your project uses androidx then use
`fluttertoast`
version
`2.2.4`
or
`2.2.5`
## How to Use
```
yaml
# add this line to your dependencies
fluttertoast
:
^2.2.
4
fluttertoast
:
^2.2.
6
```
```
dart
...
...
android/build.gradle
View file @
d4bba0db
...
...
@@ -31,26 +31,8 @@ android {
lintOptions
{
disable
'InvalidPackage'
}
configurations
.
all
{
resolutionStrategy
.
force
"androidx.swiperefreshlayout:swiperefreshlayout:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.arch.core:core-runtime:2.0.0-rc01"
resolutionStrategy
.
force
"androidx.lifecycle:lifecycle-viewmodel:2.0.0-rc01"
resolutionStrategy
.
force
"androidx.documentfile:documentfile:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.fragment:fragment:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.customview:customview:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.asynclayoutinflater:asynclayoutinflater:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.legacy:legacy-support-core-utils:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.interpolator:interpolator:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.core:core:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.viewpager:viewpager:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.drawerlayout:drawerlayout:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.legacy:legacy-support-core-ui:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.cursoradapter:cursoradapter:1.0.0-rc01"
resolutionStrategy
.
force
"androidx.loader:loader:1.0.0-rc01"
}
}
dependencies
{
implementation
'androidx.appcompat:appcompat:1.0.2'
implementation
'com.android.support:appcompat-v7:27.1.1'
}
android/gradle.properties
View file @
d4bba0db
org.gradle.jvmargs
=
-Xmx1536M
\ No newline at end of file
android.useAndroidX
=
true
android.enableJetifier
=
true
\ No newline at end of file
android/src/main/java/io/github/ponnamkarthik/toast/fluttertoast/FluttertoastPlugin.java
View file @
d4bba0db
...
...
@@ -8,7 +8,7 @@ import android.view.Gravity;
import
android.widget.TextView
;
import
android.widget.Toast
;
import
android
x.core
.content.ContextCompat
;
import
android
.support.v4
.content.ContextCompat
;
import
io.flutter.plugin.common.MethodCall
;
import
io.flutter.plugin.common.MethodChannel
;
import
io.flutter.plugin.common.MethodChannel.MethodCallHandler
;
...
...
pubspec.yaml
View file @
d4bba0db
name
:
fluttertoast
description
:
Toast Library for FLutter
version
:
2.2.
4
version
:
2.2.
6
author
:
Karthik Ponnam <ponnamkarthik3@gmail.com>
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