PhysicalModel (Flutter Widget of the Week)

  Рет қаралды 182,665

Flutter

3 жыл бұрын

PhysicalModel allows you to add custom shadow effects to your app and customize its color and shape. Learn how to set up the widget and troubleshoot common errors.
Learn more about PhysicalModel → goo.gle/35kF2EJ
DartPad → goo.gle/3pYzIhZ
This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish.
Learn everything about Flutter at → goo.gle/2WAhEN1
Get more tips! → goo.gle/307BX6t
Subscribe to Flutter! → goo.gle/FlutterYT

Пікірлер: 125
@chiragmittal996
@chiragmittal996 3 жыл бұрын
This series should be nominated for the best series in sci-fi category by Emmy Awards.
@FlutterMapp
@FlutterMapp 3 жыл бұрын
and the award goes to ..... EMILY!
@sampahemmanuel2643
@sampahemmanuel2643 3 жыл бұрын
Very true
@hussainfazal-kd1zk
@hussainfazal-kd1zk 3 жыл бұрын
@@FlutterMappvm.tiktok.com/ZSJ5FrpeY/
@viditkhanna3721
@viditkhanna3721 3 жыл бұрын
Flutter: How many widgets you want? Developers: Yes.
@courtr1588
@courtr1588 3 жыл бұрын
literally me
@jvcss
@jvcss 3 жыл бұрын
hahahahah that's the right answer
@FlutterMapp
@FlutterMapp 3 жыл бұрын
Loooooooool
@Aspiiire
@Aspiiire 3 жыл бұрын
We need more lol
@ninjaasmoke
@ninjaasmoke 3 жыл бұрын
Flutter: Ok.
@meshkatshadik
@meshkatshadik 3 жыл бұрын
Flutter is an emotion.
@koayyongzhuang1418
@koayyongzhuang1418 3 жыл бұрын
Flutter: Do you want ray-tracing ? Developers: Yes.
@Lensbreak
@Lensbreak 3 жыл бұрын
Flutter: You want hologram widget for 3D user experience? React Native: We now offer Pressable Component for a surface (Oct 2020)
@RajA-me9cl
@RajA-me9cl 3 жыл бұрын
Weekly uploads please 🙏🏼
@FlutterMapp
@FlutterMapp 3 жыл бұрын
This was my CovidFeelingAlone Christmas Wish.
@ivanyoed
@ivanyoed 3 жыл бұрын
Finally! I waited for this widget a long time! Thank you flutter team!
@Darthilandia
@Darthilandia 3 жыл бұрын
Falling in love with Flutter more and more!
@tejasmd8143
@tejasmd8143 3 жыл бұрын
The positivity in the comments is one of the things I come here for.
@FlutterMapp
@FlutterMapp 3 жыл бұрын
ahahahha
@FlutterMapp
@FlutterMapp 3 жыл бұрын
same lool
@tuobraun
@tuobraun 3 жыл бұрын
OMG, I struggled so much to create a custom shadow for a card! And finally I’ve found out that there’s yet another amazing widget! Wow, Flutter is exciting...
@FlutterMapp
@FlutterMapp 3 жыл бұрын
looool
@vaibhavkushwaha5426
@vaibhavkushwaha5426 3 жыл бұрын
I love this series so much! ❤❤❤❤
@mobilemon5032
@mobilemon5032 3 жыл бұрын
I think this widget needs to be renamed. Maybe to "Shadow" or something. PhysicalModel is not an intuitive name
@uddinrokib7
@uddinrokib7 3 жыл бұрын
Yeah really dumb name.
@YoungDen
@YoungDen 3 жыл бұрын
I guess because of the color variation.
@linuxland
@linuxland 3 жыл бұрын
@@YoungDen shadow color variations doesn't really exist in the "physical" world so more reasons to rename it
@carlosj8071
@carlosj8071 3 жыл бұрын
i was expecting an actual 3d cube
@kapowrobot7942
@kapowrobot7942 3 жыл бұрын
Clickbait coding libraries. What could go wrong.
@ADITYASINGH007
@ADITYASINGH007 3 жыл бұрын
Thanks for sharing these awesome widgets. Love ❤️
@harshvardhanr5062
@harshvardhanr5062 3 жыл бұрын
Woah. This makes things way simpler!!!
@AL-eo2gb
@AL-eo2gb 3 жыл бұрын
This series is really addictive
@justapugontheinternet
@justapugontheinternet 3 жыл бұрын
No more using cards everywhere 🙌🏼
@akujorsamuelonyedikachukwu997
@akujorsamuelonyedikachukwu997 3 жыл бұрын
I searched for this !!! 🤣🤣🤣🤣🤣
@hyungtaecf
@hyungtaecf 3 жыл бұрын
Thanks for another video!
@lazarusnwankwo7639
@lazarusnwankwo7639 3 жыл бұрын
Amazing stuff, Flutter team..
@henrypowell3496
@henrypowell3496 3 жыл бұрын
just watched all the 94 videos in one sitting 😅 my back is hurting though..
@blablablabla29382
@blablablabla29382 3 жыл бұрын
Oh great ! Ty Flutter Team :)
@twistbase
@twistbase 3 жыл бұрын
Nice neumorphism made easy! 🚀
@tornikegogberashvili3131
@tornikegogberashvili3131 3 жыл бұрын
Nice one!!
@ahsan_khan44
@ahsan_khan44 3 жыл бұрын
that really amazing
@ianoliveiradev
@ianoliveiradev 3 жыл бұрын
very good!
@yousefzk22
@yousefzk22 3 жыл бұрын
thanks !! :)
@akn9699
@akn9699 3 жыл бұрын
Long Live Flutter !!!
@cpaul08
@cpaul08 3 жыл бұрын
thanks!
@trophydevelopers
@trophydevelopers 2 жыл бұрын
The Guy who explained this, is the best
@sithumdilanga650
@sithumdilanga650 3 жыл бұрын
Nice🔥
@YuriG03042
@YuriG03042 3 жыл бұрын
I'm not sure if I understand, but I like it
@heshansandeepa9471
@heshansandeepa9471 2 жыл бұрын
awesome
@alifarhadali5580
@alifarhadali5580 3 жыл бұрын
love flutter 💙💙💙💙💙💙💙
@idanusaputra
@idanusaputra 2 жыл бұрын
Flutter: do i want a flutter job? Me : yes 😅
@simondoesstuff
@simondoesstuff 3 жыл бұрын
what a nice widget
@Baraka0369
@Baraka0369 3 жыл бұрын
Can we nest 2 PhysicalModal to create neumorphic effect ? 😉👍
@George-or3uv
@George-or3uv 3 жыл бұрын
This is a wonder widget
@easazade
@easazade 3 жыл бұрын
this one widget is really something
@Steph-sm5pb
@Steph-sm5pb 3 жыл бұрын
Wow, they should create a series when a new widget gets created by flutter.
@vinayak186f3
@vinayak186f3 3 жыл бұрын
How to achieve that rotating shadow effect with changing colours shown at the end ?
@sergey_molchanovsky
@sergey_molchanovsky 3 жыл бұрын
What's a difference with BoxShadow? Looks like just a convient wrapper with a weird name. You'd better make an InnerShadow widget. Currently there's no way to create inner shadows; I can't reproduce the design exactly because of it.
@trendz4422
@trendz4422 3 жыл бұрын
How it differs from applying box shadow?
@vaibhavkalsariya4887
@vaibhavkalsariya4887 Жыл бұрын
We can also custom shape box and also give to the shadow??like... Heart shape, triangle and etc....
@erlangparasu7524
@erlangparasu7524 Жыл бұрын
Great
@FightinTheGorlax
@FightinTheGorlax 2 жыл бұрын
How do I get the elevation to change the color in PhysicalModel like it does in the Card widget?
@tejasgathekar1171
@tejasgathekar1171 3 жыл бұрын
Great ,|×lutter is lubb😍😍
@wantedwilson4925
@wantedwilson4925 3 жыл бұрын
i didn't understand the difference of it with BoxShadow
@foxbeats563
@foxbeats563 3 жыл бұрын
It just seems more easier
@Its_Pritam_
@Its_Pritam_ 3 жыл бұрын
What are the use cases of this? I mean we can achieve this with boxShadow inside BoxDecoration!
@thebigshorttrader
@thebigshorttrader 3 жыл бұрын
Flutter is a monster ♥🔥💪
@youssef.elmoumen
@youssef.elmoumen 3 жыл бұрын
A beautiful monster 🤤
@thebigshorttrader
@thebigshorttrader 3 жыл бұрын
@@youssef.elmoumen yes🖤
@worrygod
@worrygod 3 жыл бұрын
It's more helpful to create Inner Shadow, Icon Shadow, Clip Shape Shadow, or Bevel and Emboss effect..with animation in it. They still too expensive and complex to create by hand..
@akashkumardas6521
@akashkumardas6521 3 жыл бұрын
Designing is fine, need to work for native APIs specially for iOS side
@sodiboo
@sodiboo 3 жыл бұрын
is PhysicalModel optimized for raytracing with RTX graphics cards on desktop platforms?
@domontowicz
@domontowicz 3 жыл бұрын
Please, show how to retrieve BLOB image data from existing SQLite database, can't find it anywhere
@vinay_aniv
@vinay_aniv 3 жыл бұрын
Hey Team ..! I Have A Question ..When We Are Getting A Better Performane Version of Flutter Like Native (Kotlin) because Currently Flutter Performance is not Good..while Kotlin is better...But My Dream is Flutter... Please Reply..
@neerajverma9226
@neerajverma9226 3 жыл бұрын
why this features are not available for stock android kotlin?
@mamenggaluh8897
@mamenggaluh8897 3 жыл бұрын
I used Container with box shadows this whole time without knowing this elevation thingy exists :/
@namanawasthi5
@namanawasthi5 3 жыл бұрын
Addiction to this series is better than cocaine 😂😂
@aytunch
@aytunch 3 жыл бұрын
Does this work for any specific shaped childs? or is it only for rectangle and circle shapes? If that's the case, I don,t see much use for this widget since we have BoxDecoration for those already.
@prettygirl6146
@prettygirl6146 2 жыл бұрын
yeah, me too what the heck is the use for this widget as we have the BoxDecoration
@mahadyhasan1569
@mahadyhasan1569 Жыл бұрын
Box decoration is a property of container. With this widget you don’t need containers and ez to implement
@montassarezekri
@montassarezekri 2 жыл бұрын
Is this a material and container widget listed on a stack??
@prettygirl6146
@prettygirl6146 2 жыл бұрын
I don't get the difference between just using a `BoxDecoration + boxshadow` VS `PhysicalModel`, why not using the old method?
@gourav7315
@gourav7315 3 жыл бұрын
Please Make a SVG Official SVG plugin
@keepdream
@keepdream 3 жыл бұрын
can you rewrite flutter with typescript?
@mueez7928
@mueez7928 Жыл бұрын
why not using container's boxshadow?
@francisgeorge7639
@francisgeorge7639 2 жыл бұрын
I've noticed a lot of the naming of flutter objects is highly abstract, and not memorable. Related to this obscurantism is the splitting up of classes in to a forest of subclasses. It's a major hindrance to knowing what to do, not helped by the docs that don't give enough context, cross-referencing to related objects or examples. In the good old days, a component/widget would have all its properties on its surface, or at least sub-properties would be visually presented (think VB or Delphi) and easy to navigate through with your mouse.
@anuragbhattacharya2054
@anuragbhattacharya2054 3 жыл бұрын
now what's the difference between Material and this?
@AhmedMohamed-br8ex
@AhmedMohamed-br8ex 3 жыл бұрын
But can I add two shadows?
@ashrithshetty4771
@ashrithshetty4771 3 ай бұрын
its like same as shadow container
@vishaltk
@vishaltk 3 жыл бұрын
is it raytraced?
@AdriSinaga
@AdriSinaga 3 жыл бұрын
Guess it could be 3D effects
@darshilchheda6713
@darshilchheda6713 3 жыл бұрын
Instead of Physical Model, We can use Container with BoxShadow and give it a shape right? This is much simpler way of accessing 3D effect of Object!
@adrienchl5792
@adrienchl5792 3 жыл бұрын
But I don't think that you can orientate the shadow with BoxShadow as they did at the end of the video (correct me if i'm wrong)
@gowthammg3564
@gowthammg3564 3 жыл бұрын
@@adrienchl5792 you can do it with the help of box shadow's different offset values. Need to play with those values
@darshilchheda6713
@darshilchheda6713 3 жыл бұрын
@@adrienchl5792 yes you can't, you are right! That's why they have developed a widget for us for such situation. If your needs are fulfilled with BoxShadow then fine else Physical Model is here to help✌😃
@adrienchl5792
@adrienchl5792 3 жыл бұрын
@@gowthammg3564 It's a little bit convenient to use the specific widget I think, but it seems to be also a good way to do so
@gowthammg3564
@gowthammg3564 3 жыл бұрын
@@adrienchl5792 yes. If we are using, margin, padding and so on and need to do this kind of stuff, we can use container's boxshadow else, if we are in need of boxshadow and other decoration we can go with decorated box. If we have only this effect around our widget, we can use it. depends upon the usecase
@hammadasif
@hammadasif 3 жыл бұрын
Nice widget. But why not the name of widget could be ShadowBox? Like how in this world, I would know that I need physics for showing Shadow in my app? 😁
@PsychoTaker2305
@PsychoTaker2305 3 жыл бұрын
Okay now tell us how to change angle?
@diogosequeira4873
@diogosequeira4873 3 жыл бұрын
so basically a neon for your widgets
@olofumark5365
@olofumark5365 3 жыл бұрын
Fact: Google engineers are some of the hardest working people on earth.
@nicolasdupere
@nicolasdupere 3 жыл бұрын
It's a weird name. PhysicalModel. Why not PhysicalShadow? Or ShadowModel?
@sergey_molchanovsky
@sergey_molchanovsky 3 жыл бұрын
Or just Shadow?
@Geckuno
@Geckuno 3 жыл бұрын
1:10 so WHY doesn't it do anything?
@StevenUpton
@StevenUpton 3 жыл бұрын
It does do something, but it's hidden under the child widget.
@paulinventador2263
@paulinventador2263 3 жыл бұрын
What about inner shadow? I recently found out that there is no solution for Text widget to make text with inner shadow.
@FlutterMapp
@FlutterMapp 3 жыл бұрын
Damn! I was using Stack to do Text Shadow! I will try if it work with text! Good call
@pratikmohite446
@pratikmohite446 3 жыл бұрын
This kind of weired but it getting long and long to come new videos on channel
@WhatAllNicksAreBusy
@WhatAllNicksAreBusy 3 жыл бұрын
Why not name the widget 'Shadow' ? Kinda expect more from PhysicalModel...
@HashemRC
@HashemRC 3 жыл бұрын
Rename PhysicalModel to ShadowBox. PhysicalModel has ambiguity. no one thinks about shadow. it directs mind to gravity, momentum, morphing, speed, velocity
@Rockstar-dm6ok
@Rockstar-dm6ok Жыл бұрын
Hello flutter developers
@VinayakaramNagarajan
@VinayakaramNagarajan 3 жыл бұрын
Why don't you guys simply call it Shadow or something?
@orderla8877
@orderla8877 Жыл бұрын
Everything was great until the circle came out..
@samatzhussipov1139
@samatzhussipov1139 3 жыл бұрын
lol
@basudevnayak8762
@basudevnayak8762 3 жыл бұрын
If you think flutter have killed native android development , Hit LIKE. ...Discliamer* This is not a random like asking comment, This will give other developers a idea of what all of us think.
@x-42
@x-42 3 жыл бұрын
I wouldn’t call it PhysicalModel
@FlutterMapp
@FlutterMapp 3 жыл бұрын
How would you call it? Container Shadow Box or Card?
@x-42
@x-42 3 жыл бұрын
@@FlutterMapp I didn’t really put much thoughts into the naming, but something like ShadowModel is bit better, when I first heard of PhysicalModel I thought they are doing so AR or something
@FlutterMapp
@FlutterMapp 3 жыл бұрын
@@x-42 Man!! AR widgets would be so amazing!!
@x-42
@x-42 3 жыл бұрын
@@FlutterMapp It would be amazing. but it is challenging to make it cross-platform and it would take much effort and time to do so !
@user-fs5ls6vg1k
@user-fs5ls6vg1k 3 ай бұрын
it is in container .shadowbox what the difference
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 9 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 23 МЛН
Проверил, как вам?
0:58
Коннор
Рет қаралды 124 М.
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,2 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 2,3 МЛН