I want to use android_alarm_manager for the android side and work_manager for the ios. Is there any way to tell flutter NOT to include work_manager for the android build?
Note: I am asking for a solution for compile-time optimization which checking platform.isAndroid can not do.