lzhuor/auto_size_text_field

Bug - Parameter missing

foresourcedev opened this issue · 11 comments

Get this error message on building version 1.0.1:

../../.pub-cache/hosted/pub.dartlang.org/auto_size_text_field-1.0.1/lib/src/auto_size_text_field.dart:603:9:
Error: No named parameter with the name 'maxLengthEnforced'.
maxLengthEnforced: widget.maxLengthEnforced,
^^^^^^^^^^^^^^^^^

Hi @foresourcedev , could you please share the flutter doctor of the Flutter environment which has the above issue result? Thank you!

I have the same issue.

[✓] Flutter (Channel stable, 3.0.0, on macOS 11.6 20G165 darwin-x64, locale en-BY)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.66.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Same issue. Happened after migration to Flutter 3.0, Flutter 2.5 works fine.

Also having this issue after updating to Flutter 3.0

I fixed in #29

You can use this until there is a new version

  auto_size_text_field:
    git:
      url: https://github.com/stepushchik-denis-gismart/auto_size_text_field.git
      ref: c428f7ffefa8a385e2109e0997f4c9f5397262a5

Same issue. Happened after migration to Flutter 3.0, Flutter 2.5 works fine.

Same here. Downgraded flutter to 2.10.5, then the library worked.

Thank you, folks. Merged #29 kudos to @stepushchik-denis-gismart .

I will cut a release later today.

Released. Thank you, folks!

thx