forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 1
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 (master)
- Glossary
- Contributor Guide
- Chat on Discord
- Code of Conduct
- Issue triage reports
- Our Values
- Tree hygiene
- Issue hygiene and Triage
- Style guide for Flutter repo
- Project teams
- Contributor access
- What should I work on?
- Running and writing tests
- Release process
- Rolling Dart
- Manual Engine Roll with Breaking Commits
- Updating Material Design Fonts & Icons
- Postmortems
- Setting up the Framework development environment
- The Framework architecture
- The flutter tool
- 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
- 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
- Engine disk footprint
- Comparing AOT Snapshot Sizes
- Custom Flutter engine embedders
- Custom Flutter Engine Embedding in AOT Mode
- Flutter engine operation in AOT Mode
- Engine-specific Service Protocol extensions
- Crashes
- Supporting legacy platforms
- Metal on iOS FAQ
- Engine Clang Tidy Linter
- Why we have a separate engine repo
- Reduce Flutter engine size with MLGO
- Setting up the Plugins development environment
- Setting up the Packages development environment
- Plugins and Packages repository structure
- Plugin Tests
- Contributing to Plugins and Packages
- Releasing a Plugin or Package
- Unexpected Plugins and Packages failures