Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After Flutter 3.0 update fluttertoast library start showing this error TypeError: Cannot read properties of null (reading 'exports')

After upgrading flutter to latest stable channel fluttertoast library start showing this error and when i call methode showToast it show below error

TypeError: Cannot read properties of null (reading 'exports')

assets/packages/fluttertoast/assets/toastify.js 14:48 assets/packages/fluttertoast/assets/toastify.js 14:90 ReferenceError: Toastify is not defined

like image 683
Muhammad Saqib Aziz Avatar asked Oct 15 '25 02:10

Muhammad Saqib Aziz


1 Answers

Early fix by shivbo96. his commit hash is 3362fbe84cde30bd68875f1e04c214c72b054fd9 link https://github.com/ponnamkarthik/FlutterToast/commit/3362fbe84cde30bd68875f1e04c214c72b054fd9 enter image description here

like image 99
Seakleng Say Avatar answered Oct 17 '25 17:10

Seakleng Say



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!