rushio-consulting / flutter_camera_ml_vision

A flutter widget that show the camera stream and allow ML vision recognition on it, it allow you to detect barcodes, labels, text, faces...
MIT License
278 stars 107 forks source link

Change flutter_widgets to visibility_detector #130

Closed igoriuz closed 3 years ago

igoriuz commented 3 years ago

This PR fixes current compiling problems with latest flutter beta (1.24.0-10.2.pre). The dependency flutter_widgets is not supported anymore since its parts have been splitted into separate packages.

The error output before was:

../../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_widgets-0.1.12/lib/src/tagged_text/tagged_text.dart:295:36: Error: No named parameter with the name 'nullOk'.
                MediaQuery.of(context, nullOk: true)?.textScaleFactor ??
                                       ^^^^^^
../../flutter/packages/flutter/lib/src/widgets/media_query.dart:814:25: Context: Found this candidate, but the arguments don't match.
      static MediaQueryData of(BuildContext context) {
                            ^^

Command PhaseScriptExecution failed with a nonzero exit code
igoriuz commented 3 years ago

At least 2 more open pull requests for the same feature.. so i'm gonna close this