Giter Site home page Giter Site logo

Why not play automatically about flutter_gif HOT 3 OPEN

saytoonz avatar saytoonz commented on August 16, 2024
Why not play automatically

from flutter_gif.

Comments (3)

fernan542 avatar fernan542 commented on August 16, 2024

Can you give more context on how it become bad? Also do you have any expected behavior?

FlutterGifController gifController= FlutterGifController(vsync: this);

// starting frame
final min = 0;
// end by last frame index
final max = 29; 
// speed, max / duration = time to show each frame of animation
// example: 29 / 29 = 1s; each frame will be shown 1 sec.
final duration = 29;

gifController.repeat(min: min, max: max, duration: duration);

You have to explicitly pass the min and max parameters in order for the gif controller to know on what frame to start and to end. You have to give duration a value in order to know how long each frame should be displayed.

from flutter_gif.

tudosxxx avatar tudosxxx commented on August 16, 2024

I dont know this gif min max and duration ,how to set that.
propose It should run automatically by default, but I can set it to change it instead of not running without setting it.

from flutter_gif.

razzinfinity avatar razzinfinity commented on August 16, 2024

This behaves in different way with debug run and release run.

from flutter_gif.

Related Issues (9)

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.