Commit cb888fdd by Karthik Ponnam

7.1.4

parent f01d6b87
## [7.1.4]
- minor fixes
## [7.1.3] ## [7.1.3]
- Android Default bg when fontSize or textColor set fixed - Android Default bg when fontSize or textColor set fixed
......
...@@ -34,7 +34,7 @@ This one has limited features and no control over UI ...@@ -34,7 +34,7 @@ This one has limited features and no control over UI
```yaml ```yaml
# add this line to your dependencies # add this line to your dependencies
fluttertoast: ^7.1.1 fluttertoast: ^7.1.4
``` ```
```dart ```dart
......
...@@ -63,7 +63,7 @@ internal class MethodCallHandlerImpl(var context: Context) : MethodCallHandler { ...@@ -63,7 +63,7 @@ internal class MethodCallHandlerImpl(var context: Context) : MethodCallHandler {
mToast.view = layout mToast.view = layout
} else { } else {
mToast = Toast.makeText(context, mMessage, mDuration) mToast = Toast.makeText(context, mMessage, mDuration)
val textView: TextView = mToast.view.findViewById(android.R.id.message) val textView: TextView = mToast.view!!.findViewById(android.R.id.message)
if(textSize != null) { if(textSize != null) {
textView.textSize = textSize.toFloat() textView.textSize = textSize.toFloat()
} }
......
...@@ -78,7 +78,7 @@ packages: ...@@ -78,7 +78,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "7.1.3" version: "7.1.4"
js: js:
dependency: transitive dependency: transitive
description: description:
......
name: fluttertoast name: fluttertoast
description: Toast Library for Flutter, Easily create toast messages in single line of code description: Toast Library for Flutter, Easily create toast messages in single line of code
version: 7.1.3 version: 7.1.4
homepage: https://github.com/PonnamKarthik/FlutterToast homepage: https://github.com/PonnamKarthik/FlutterToast
issue_tracker: https://github.com/ponnamkarthik/FlutterToast/issues issue_tracker: https://github.com/ponnamkarthik/FlutterToast/issues
......
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