Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depreciation warnings #516

Open
venky9885 opened this issue Jul 6, 2024 · 1 comment
Open

Depreciation warnings #516

venky9885 opened this issue Jul 6, 2024 · 1 comment

Comments

@venky9885
Copy link

'getter for view: View?' is deprecated. Deprecated in Java
exception: val textView: TextView = mToast?.view!!.findViewById(android.R.id.message,)
exception:

@venky9885
Copy link
Author

exception: c:\Users\venky\AppData\Local\Pub\Cache\hosted\pub.dev\fluttertoast-8.2.6\android\src\main\kotlin\io\github\ponnamkarthik\toast\fluttertoast\FlutterToastPlugin.kt:9:48: warning: 'Registrar' is deprecated. Deprecated in Java
exception: import io.flutter.plugin.common.PluginRegistry.Registrar
exception: ^
exception: c:\Users\venky\AppData\Local\Pub\Cache\hosted\pub.dev\fluttertoast-8.2.6\android\src\main\kotlin\io\github\ponnamkarthik\toast\fluttertoast\MethodCallHandlerImpl.kt:55:40: warning: 'setColorFilter(Int, PorterDuff.Mode): Unit' is deprecated. Deprecated in Java
exception: gradientDrawable!!.setColorFilter(bgcolor.toInt(), PorterDuff.Mode.SRC_IN)
exception: ^
exception: c:\Users\venky\AppData\Local\Pub\Cache\hosted\pub.dev\fluttertoast-8.2.6\android\src\main\kotlin\io\github\ponnamkarthik\toast\fluttertoast\MethodCallHandlerImpl.kt:67:29: warning: 'setter for view: View?' is deprecated. Deprecated in Java
exception: mToast?.view = layout
exception: ^
exception: c:\Users\venky\AppData\Local\Pub\Cache\hosted\pub.dev\fluttertoast-8.2.6\android\src\main\kotlin\io\github\ponnamkarthik\toast\fluttertoast\MethodCallHandlerImpl.kt:71:58: warning: 'getter for view: View?' is deprecated. Deprecated in Java
exception: val textView: TextView = mToast?.view!!.findViewById(android.R.id.message,)
exception:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant