The UIs you can create with #Flutter and some #Shader magic! ๐ช๐คฉ๐๐ผ
@roaakdm23K followers
42 Comments
Comments from the original post on X (Twitter)

@roaakdm
The warp effect you see is a pincushion distortion applied with a few lines of GLSL code
54 likes

@roaakdm
The shader file is loaded with a #ShaderBuilder from the flutter_shaders package that uses Flutter's newly stable #FragmentProgram API The #AnimatedSampler widget creates a dart:ui image from Flutter widget scenes, and the image is passed to the shader as a 2d sampler
23 likes

@roaakdm
The grid is a combination of OverflowBox, GridView, TweenAnimationBuilder, and GestureDetector widget. onPanStart() triggers the shader distortion, onPanUpdate() moves the GridView around, and onPanEnd() resets the distortion and snaps to the closest grid item.
26 likes

@roaakdm
Check the README for more details about the code ๐ค
11 likes

@roaakdm
Design Inspiration ๐จ
39 likes

@reNotANumber
๐ That is so cool!
3 likes

@roaakdm
Learning from the best ๐
2 likes

@reNotANumber
Oh, you are learning with yourself
2 likes

@cscoderr
@tosinSpace Amazing ๐คฉ
3 likes

@VGVentures
๐คฉ
3 likes

@ChopkarAarya
@itsvinayyay
2 likes

@Its_immi
Wow ๐ฅบ๐
2 likes

@mouaz_m_shahmeh
ุงุญุณูุช ุฑุคู ๐ธ๐พ๐๐
2 likes

@briankariuki
๐๐พ
2 likes

@Sarthak001__
Cool ๐, I will try to make it myself first ๐.
2 likes

@riteshdoke
Amazing #Flutter & #Shader magic from the #AnimationQueen
1 like

@yasinaktimur
OMQ
1 like

@ruqaiyasattar31
๐
1 like

@pedromassangom
That is very interesting ๐๐ฝ
1 like

@imrishuroy
This is awesome
1 like



















