In this tutorial, we will see how we can fix flutter animations on iOs devices during the first run. I'll show a real-life application before and after the optimization, and we will do optimization in two ways - manual and automatic.
This video has the purpose of demonstrating the optimization technic, but it's still highly recommended to go through the docs in order to understand the issue.
May be not relevant after Impeller rendering runtime release.
Environment:
macOS 13.0.1 (22A400)
Flutter 3.3.8
Outline:
00:00 - Intro
00:41 - The problem - shader compilation jank
01:40 - Manual SkSL warmup
05:15 - Automating SkSL warmup