I want to play lottie animation for specific time duration in flutter. I don't want to play it by fast forwarding. Like If my animation contains total 90 frames then If I only want to play first 30 frames so can I achieve this? or like If my animation has total 2 seconds but I only want to play 1st second. then How can I do this with using animation controller or any other thing?
How to play lottie animation for specific time duration in flutter
11.7k Views Asked by Aayush Shah At
1
There are 1 best solutions below
Related Questions in FLUTTER
- Flutter + Dart: Editing name of a tab shows up a black screen
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- Way to get CustomPainter to track face in Camera Flutter MLKit
- flutter Null check error: did not show file and line number
- Creating multiple instances of a class with different initializing values in Flutter
- I want to paste stickers into to my TextField and to show the stickers beside the emojis
- Flutter plugin development android src not opening after opening example
- Module not found when building flutter app for IOS
- How to make barrier area interactive in flutter modal bottom sheet
- Can an RPC result be included in a Supabase select function in Flutter for Data Modeling?
- Why do I need to wait to reaccess to Firestore database even though it has already done before?
- Flutter web app on Windows -how to support mouse drag for horizontal and vertical scrolling as well as using mouse wheel
- I wrote this time displaying FLUTTER app, How can I improve it?
- Appwrite and / or Spring Boot Backend
- Flutter two_dimensional_scrollables Web app Chrome - cannot get horizontal scroll to work?
Related Questions in FLUTTER-ANIMATION
- Flutter animation stops on user click, but navigation doesn't occur. How can I make cards clickable during animation to trigger navigation?
- How to create under the label in Textformfield, not a border, in Flutter
- Same animated background widget on every page in flutter
- Flutter: keep old value until implicit animation is done
- In my flutter app, selectedItemcolor does not change
- How to build RoadMap UI using a dotted line
- how to use flutter curve value from high to low
- TextInput style like WhatApp
- How do you fix the test widget in dart
- AnimatedSwitcher between 2 Cards - how to make the Cards the same height (shorter one expands to be the same height as taller one)?
- How can I create a circular animation with orbiting images in Flutter?
- How do I create a widget that can be pushed and pushed with the appropriate animation? Flutter
- I can't figure out how to implement the display of elements in various actions. Flutter
- Create widget in flutter
- AnimatedContainer Padding Issue
Related Questions in LOTTIE
- Lottie animation not working
- Lottie AnimationView Layer Properties
- How to know when a Lottie animation is completed?
- how use lottie in custom progress dialog in android studio
- Swift transform rotate Lottie animatino not working
- react-lottie: Animation would not show
- Lottie animation disappears on last TabView page in SwiftUI
- Shopify Lottie file scroll not playing when sticky
- Getting Lottie from this Codepen to also work from VSCode
- List section has unwanted space over content
- Some library similar to Lottie Animations
- Flutter: Lottie animation displayed incorrectly
- Lottie not centering while getting expanded
- DotLottie file loader errors
- buffering in lottieFiles lottie animation at first go
Related Questions in ANIMATIONCONTROLLER
- SingleTickerProviderStateMixin animation is blinking instead of smooth slide of png images
- Modifying PageRoute Controller using ModalRoute 'can only be used within instance members..'
- Access animation position of modal bottom sheet inside of the sheet widget
- How to use AnimationController in GetX with GetTickerProviderStateMixin
- Move a circular widget horizontally while changing the size Flutter
- How can use AnimationController in Cubit or Bloc?
- Animated Listview-item to show more information
- How to animate a text widget with an AnimationController
- Flutter Web Animation Controller Gets in Indeterminate State When Website is Minimized or in Background
- How to handle animations with behavior trees in Unity?
- How I can change curve animation for snackbar in flutter?
- Why is my CircularProgressIndicator spinning randomly when the screen loads?
- LateInitializationError: Field 'animationController' has not been initialized even using initState()
- manage flutter Controllers in generals
- Flutter : AnimationController.stop() called after AnimationController.dispose() AnimationController methods should not be used after calling dispose.)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Okay you could try directly editing the controller instead, so you're initState will look like this:
and then your lottie widget looks like this:
----------- Previous answer below -----------
haven't had a chance to check this but try adding a controller to your animation and using animateTo on the onLoaded.