Summary
In this chapter, we learned how to implement a platform-specific UI by using TargetPlatform
defined on context. Then, we created an iOS-specific UI by using widgets from Flutter’s cupertino
package. Finally, we recreated the same application with an Android-specific UI by using widgets from Flutter’s material
package.
By learning how to build platform-specific applications, you now understand how to build applications that adapt to the platforms that they run on.
In the next chapter, you will learn how to bring your application to life using animations.