Hamed H.

Results 4 issues of Hamed H.

No breaking changes and no changes in behavior. (The comments starting with "// ignore" should be checked and fixed if needed)

This PR fixes a warning in flutter beta. Could be merged after stable channel's update. ## Pre-launch Checklist - [x] I have run `flutter format -l 120` on all changed...

Since dart:html is not supported when compiling to Wasm, the correct alternative now is to use dart.library.js_interop to differentiate between native and web