Flutter Tutorial - Adaptive Widgets [2022] (Platform Aware Widgets)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
how to display android or ios specific widgets depending on the device in flutter simply check on which platform your flutter app is running next depending on this flag you display in ios or android widget for the ios widget we take the cupertino button and for the android widget the material elevated button with this we have an adaptive button that renders correctly for each platform next we show an adaptive dialog depending on the platform we call a differential dialog method and then we display the cupertino alert dialog if we have the ios platform otherwise we display the alert dialog for the android platform as a result we show for each platform the correct dialogue flutter also has some built-in adaptive widgets simply use the adaptive constructor for the switch widget for the switch list style widget we also have an adaptive slider and the adaptive progress indicator and finally flutter also supports adaptive icons [Music]
Info
Channel: HeyFlutter․com
Views: 10,033
Rating: undefined out of 5
Keywords: adaptive design flutter, adaptive flutter, adaptive widgets, adaptive widgets flutter, android, flutter, flutter .adaptive, flutter adaptive, flutter adaptive icons, flutter adaptive layout, flutter adaptive ui, flutter adaptive widgets, flutter platform aware widgets, flutter platform widgets, flutter tutorial, flutter widget, icons.adaptive flutter, ios, platform aware, slider.adaptive flutter, switch.adaptive flutter
Id: 4QdsluVt8dc
Channel Id: undefined
Length: 1min 10sec (70 seconds)
Published: Fri Feb 25 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.