Video wird geladen...
Video konnte nicht geladen werden
The UIs you can create with #Flutter and some #Shader magic! ๐ช๐คฉ๐๐ผ ๐ฉ๐ปโ๐ป Source code: Implementation details๐๐ผ
42 Kommentare

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

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

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.

Check the README for more details about the code ๐ค

Design Inspiration ๐จ

๐ That is so cool!

Learning from the best ๐

Oh, you are learning with yourself

@tosinSpace Amazing ๐คฉ

๐คฉ

@itsvinayyay

Wow ๐ฅบ๐

ุงุญุณูุช ุฑุคู ๐ธ๐พ๐๐

๐๐พ

Cool ๐, I will try to make it myself first ๐.

Amazing #Flutter & #Shader magic from the #AnimationQueen

OMQ

๐

That is very interesting ๐๐ฝ

This is awesome

@VGVentures ww

Looks amazing!!! Pure magic ๐คฉ๐คฉ๐ช

Thank you! ๐คฉ

๐ฅน

AMAZING ๐

wow๐

That's just wow! ๐

The Queen of animations

@theflutterway Amazing.. this is what flutter is built for๐

@maheshmnj Awesome work

amazing..

Wow Impressive ๐

Thank you! ๐ฅน

Amazing ๐๐

Awesome ๐

๐คฉ๐คฉ๐คฉ

Wow.. amazing Roaa๐๐ผ

amazing ๐คฉ

๐๐ผ๐๐ผ๐๐ผ๐ฏ

This is really amazing ๐ฅบ๐

Lovely ๐น

@widgetbook_io ุฌู ูู


