Performant painting with Flutter fragment shaders
Learn how to build a custom fragment shader, from GLSL code to the widgets that connect it to the rest of your Flutter app.
Chapters:
0:00 - Background of Flutter rendering
3:43 - Writing a simple shader
6:22 - Adding the shader to Flutter
10:55 - Passing a color value
12:48 - Difference between widgets and custom shaders
14:18 - Adding a gradient to our shader
17:51 - Handling color alpha
19:30 - Conclusion
Resources:
Book of Shaders → https://goo.gle/3qbNVO8
Next-gen UIs in Flutter → https://goo.gle/3IErjvZ
Codelab → https://goo.gle/3MVQgpm
Solid_fill.frag → https://goo.gle/3MA29zD
Catch more videos → https://goo.gle/FlutterBuildShow
Subscribe to Flutter! → https://goo.gle/FlutterYT
#FlutterBuildShow
Flutter
Welcome to the official Flutter YouTube channel. Subscribe to stay up to date with best practices about the Flutter SDK. See real code examples, and watch engineers from around the world putting Flutter to work! Subscribe to stay connected → http://bit....