正在加载视频...

视频加载失败

The UIs you can create with #Flutter and some #Shader magic! 🪄🤩👇🏼 👩🏻‍💻 Source code: Implementation details👇🏼

288,817 次观看 • 3 年前 •via X (Twitter)

42 条评论

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

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

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

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

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

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.

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

Check the README for more details about the code 🤓

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

Design Inspiration 🎨

Renan 💙 的头像
Renan 💙3 年前

😍 That is so cool!

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

Learning from the best 👀

Renan 💙 的头像
Renan 💙3 年前

Oh, you are learning with yourself

Tom 的头像
Tom3 年前

@tosinSpace Amazing 🤩

Very Good Ventures 🦄💙 的头像
Very Good Ventures 🦄💙3 年前

🤩

Aarya Chopkar 🇮🇳 的头像
Aarya Chopkar 🇮🇳3 年前

@itsvinayyay

Imtiaz Ahmad 💙 𝕏 的头像
Imtiaz Ahmad 💙 𝕏3 年前

Wow 🥺😍

Mouaz M. Shahmeh 的头像
Mouaz M. Shahmeh3 年前

احسنت رؤى 🇸🇾💙🙂

Brian Kariuki 🛡️ 的头像
Brian Kariuki 🛡️3 年前

👌🏾

Sarthak Jaiswal 的头像
Sarthak Jaiswal3 年前

Cool 👌, I will try to make it myself first 😁.

Ritesh Doke 的头像
Ritesh Doke3 年前

Amazing #Flutter & #Shader magic from the #AnimationQueen

Rich kids of base 的头像
Rich kids of base3 年前

OMQ

Ruqaiya 💙 的头像
Ruqaiya 💙3 年前

😍

Pedro Massango 的头像
Pedro Massango3 年前

That is very interesting 👌🏽

Rishu Kumar 的头像
Rishu Kumar3 年前

This is awesome

peter100u 的头像
peter100u3 年前

@VGVentures ww

Raitis Šaripo 🌶💙🍏☘️ 的头像
Raitis Šaripo 🌶💙🍏☘️3 年前

Looks amazing!!! Pure magic 🤩🤩🪄

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

Thank you! 🤩

Paras Jain 的头像
Paras Jain3 年前

🥹

Marjan 💙 的头像
Marjan 💙3 年前

AMAZING 😃

Rahul kumar 的头像
Rahul kumar3 年前

wow😍

NetGlade 的头像
NetGlade3 年前

That's just wow! 👀

Sham'un 'The MasterChief' 的头像
Sham'un 'The MasterChief'3 年前

The Queen of animations

Rickson Dpenha 💙 的头像
Rickson Dpenha 💙3 年前

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

Payam Zahedi 💙 的头像
Payam Zahedi 💙3 年前

@maheshmnj Awesome work

Lebe 的头像
Lebe3 年前

amazing..

Mo Malaka 💙 的头像
Mo Malaka 💙3 年前

Wow Impressive 😍

Roaa 🦄💙 的头像
Roaa 🦄💙3 年前

Thank you! 🥹

Eng-Mohamed Elsayed 的头像
Eng-Mohamed Elsayed3 年前

Amazing 👏👏

Trevor 的头像
Trevor3 年前

Awesome 👌

Rohan Joshi 的头像
Rohan Joshi3 年前

🤩🤩🤩

Hafeez Rana 💙 的头像
Hafeez Rana 💙3 年前

Wow.. amazing Roaa👍🏼

Ugo 💙🦄 的头像
Ugo 💙🦄3 年前

amazing 🤩

Jigar Patel 💙 的头像
Jigar Patel 💙3 年前

👌🏼👌🏼👌🏼😯

Nikhil Kukreja 💙 的头像
Nikhil Kukreja 💙3 年前

This is really amazing 🥺🙌

Austinevick 的头像
Austinevick3 年前

Lovely 🌹

al!lo 的头像
al!lo3 年前

@widgetbook_io جميل

相关视频