Flutter Practical CustomPaint example, implementing radial gradient with blur, working with Figma

Опубликовано: 11 Октябрь 2024
на канале: Anton Krasov
2,009
61

In this tutorial, we will explore how to work with the CustomPaint widget to create interesting effects. We will work intensively with Figma to replicate the design. Canvas APIs we will use include shaders and filters.

Environment:
macOS 13.0.1 (22A400)
Flutter 3.3.9

Outline:
00:00 - Intro
00:28 - Draw red rect
02:32 - Working with Figma to understand drawing logic
04:15 - Radial gradient and switching to circle
10:43 - Positioning
12:53 - Adding a bottom circle