Flutter different designs for Android and IOS


I am currently developing an app that I want to release for Android and IOS. My problem is that I don’t want to use Material Design for both platforms, as that wouldn’t match the IOS design language. Is there any way to use one codebase and compile it for Android using Material Design and for IOS using Cupertino? If not, what is the usual way to go?


Checkout: https://pub.dev/packages/flutter_platform_widgets

Its a library that has already done this for a bunch of widgets. If the library doesn’t have something you want you can make use of the PlatformWidget from the library. Under the hood it will be doing something similar to fartem’s answer.

Answered By – JayDev

Answer Checked By – David Goodson (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *