Git Product home page Git Product logo

Comments (5)

TheMultii avatar TheMultii commented on August 16, 2024

You would have to mostly rewrite the entire text editor in flutter to get a working lazy loading. It's also possible to split the TextField into many TextFields, but this is also difficult to implement, and has no advantages other than performance.

#73
flutter/flutter#128575

from flutter-code-editor.

Srimathi622 avatar Srimathi622 commented on August 16, 2024

Thanks for your reply. Now My app is hanged when we have huge text. There is some delay while typing. is there any way to overcome these issues?

from flutter-code-editor.

TheMultii avatar TheMultii commented on August 16, 2024

The repository is under Apache 2.0 licence, so you could fork it and try to implement an idea with many TextFields. But then you would have to do some kind of content management (split) between them, which is probably hard to implement.

There's not much you can do if Flutter's TextField is laggy when handling too many lines of text.

The problem I mentioned is that it's only laggy on the web, not on different platforms. As far as I am concerned, it has performance issues on every single platform.

I guess we will have to wait until the issues are resolved.

from flutter-code-editor.

Srimathi622 avatar Srimathi622 commented on August 16, 2024

Thanks for your reply, Marcel. I didn't get your idea (implement an idea with many TextFields). Could u pls explain this?

from flutter-code-editor.

Srimathi622 avatar Srimathi622 commented on August 16, 2024

I read this issue. [https://github.com/flutter/flutter/issues/90063]. will it solve the performance issue if we implement the TextField with DeltaTextInputClient? What is your point of view about this Github discussion?

from flutter-code-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.