Full source code on GitHub: https://github.com/bizz84/platform_aw...
Sign up here for more videos: https://codewithandrea.com/
In this video I'll talk about platform aware widgets, as a way to tailor the look and feel of our apps on iOS and Android.
HIGHLIGHTS:
00:00 - Intro
00:47 - How to switch between Material and Cupertino widgets
01:43 - Building a platform-aware widget base class
03:18 - Platform-aware switch widget
04:36 - Platform-aware dialogs and their differences
06:36 - Composing platform-aware widgets
07:15 - Showing and dismissing dialogs
09:05 - Summary
This code was tested with Flutter 1.0.0.
Want more? Check out all my Flutter courses: 👇👇
https://codewithandrea.com/courses/
Thanks for watching!