Video yükleniyor...
Video Yüklenemedi
The UIs you can create with #Flutter and some #Shader magic! 🪄🤩👇🏼 👩🏻💻 Source code: Implementation details👇🏼
42 Yorum

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 جميل


