Home > Net >  Which Flutter version is safe for Production Release?
Which Flutter version is safe for Production Release?

Time:12-26

I'm currently on version 3.3.9 channel stable and experiencing some weird assertion error from 'text_painter.dart:975:12' - which is the following function:

 /// Returns the position within the text for the given pixel offset.
  TextPosition getPositionForOffset(Offset offset) {
    assert(!_debugNeedsLayout);
    return _paragraph!.getPositionForOffset(offset);
  }

I'm working on web and it seems to happen when I move my cursor over the screen before the page has fully loaded - before my custom fonts show up.

Has anyone else experienced something similar? What's my safest option for a production release?

CodePudding user response:

Try updating Flutter Source packages: To update to the latest compatible versions of all the dependencies listed in the pubspec.yaml file, use the upgrade command:

flutter pub upgrade

CodePudding user response:

This must be a source code error from flutter. You should try downgrading to version 3.2.0. I find It more state in production rollouts.

  • Related