Making animated GIFs of Flutter apps
Chris Bracken edited this page Mar 2, 2018
·
9 revisions
Animated GIFs are useful for documentating animations. Here’s how to make them:
-
This feature is available on KitKat and later.
-
Make sure to launch the app using
flutter run --release
for faster performance. -
Start recording video by running this command on the command line:
adb shell screenrecord /sdcard/recording.mp4
-
Interact with the app. When you are done you can terminate the recording with CTRL+c.
-
Pull the recording off the device and onto your local hard drive:
adb pull /sdcard/recording.mp4 ~/Downloads/
- Move the iOS simulator above your other applications
- Launch the "QuickTime Player" app
- Select “New Screen Recording” from the File menu
- Draw a box around the Simulator and click "Start Recording"
- When you're finished, click on Stop Recording on the Menu Bar.
- If needed, trim your recording using "Trim" from the "Edit" menu.
- Save the recording
- Go to http://ezgif.com/video-to-gif and upload the video.
- If further trimming is needed, select the start and end times for your GIF.
- Select an appropriately small size for the GIF (recommended: 320xAUTO).
- Select a high framerate for the GIF (the max is 20) for smoothest animation
- Convert to GIF and download the GIF file
- Home of the Wiki
- Roadmap
- API Reference (stable)
- API Reference (main)
- Glossary
- Contributor Guide
- Chat on Discord
- Design documents
- Code of Conduct
- Issue triage reports (latest)
- Our Values
- Tree hygiene
- Issue hygiene and Triage
- Style guide for Flutter repo
- Project teams
- Contributor access
- What should I work on?
- Popular issues
- Running and writing tests
- Release process
- Flutter Framework Gardener Rotation
- Rolling Dart
- Manual Engine Roll with Breaking Commits
- Updating Material Design Fonts & Icons
- Postmortems and Retrospectives
- Hotfix Documentation Best Practices
- In case of emergency
- Landing Changes With Autosubmit
- Setting up the Framework development environment
- The Framework architecture
- API Docs code block generation
- Running examples
- Using the Dart analyzer
- The flutter run variants
- Test coverage for package:flutter
- Writing a golden-file test for package:flutter
- Managing template image assets
- Setting up the Engine development environment
- Compiling the engine
- Debugging the engine
- Using Sanitizers with the Flutter Engine
- Testing the engine
- The Engine architecture
- Flutter's modes
- Crashes
- more...
- Setting up the Packages development environment
- Plugins and Packages repository structure
- Contributing to Plugins and Packages
- Understanding Packages tests
- Plugin Tests
- Releasing a Plugin or Package
- more...