Code Monkey home page Code Monkey logo

Comments (11)

junlandroid avatar junlandroid commented on July 3, 2024 2

How do I use it to take a screenshot of itens not visible in a listview, when the listview is too long? @SachinGanesh help

from screenshot.

canturkay avatar canturkay commented on July 3, 2024 1

Hi, did you find any solutions for this?

from screenshot.

JMApps avatar JMApps commented on July 3, 2024

Actual question

from screenshot.

venky9885 avatar venky9885 commented on July 3, 2024

Waiting

  • [ ]

from screenshot.

SachinGanesh avatar SachinGanesh commented on July 3, 2024

Use captureFromWidget

from screenshot.

JMApps avatar JMApps commented on July 3, 2024

Use captureFromWidget

This does not solve the problem

from screenshot.

SachinGanesh avatar SachinGanesh commented on July 3, 2024

captureFromWidget takes screenshot of a widget that is not present in the screen. May I know what issue you are facing?

from screenshot.

JMApps avatar JMApps commented on July 3, 2024

captureFromWidget takes screenshot of a widget that is not present in the screen. May I know what issue you are facing?

Yes, you're right, it takes a screenshot of the widget we pass to it. And if the length of this widget is longer than displayed on the screen, then the screenshot is truncated.

from screenshot.

daybson avatar daybson commented on July 3, 2024

How do I use it to take a screenshot of itens not visible in a listview, when the listview is too long? @SachinGanesh help

from screenshot.

junlandroid avatar junlandroid commented on July 3, 2024

reset logicalSize , This works, but I don’t know why it’s multiplied by 2.

  // Size logicalSize = ui.window.physicalSize / ui.window.devicePixelRatio;
    Size logicalSize = (_widgetHeight == null
            ? ui.window.physicalSize
            : Size(750, _widgetHeight! * 2)) /
        ui.window.devicePixelRatio;
    // Size imageSize = ui.window.physicalSize;
    Size imageSize = (_widgetHeight == null)
        ? ui.window.physicalSize
        : Size(750, _widgetHeight! * 2);

from screenshot.

ritheshSalyan avatar ritheshSalyan commented on July 3, 2024

Closing in favor of #25 (comment)

from screenshot.

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.