On Android, when an app needs a photo it usually does not build a camera. It fires an IMAGE_CAPTURE intent with startActivityForResult , and whichever camera app the user picks takes the picture and hands it back. The same idea covers video ( VIDEO_CAPTURE ), alarms ( SET_ALARM ) and timers ( SET_TIMER ).
If you write a camera app or a clock app in Flutter, you want to be on the receiving end of those intents. That takes more than an intent filter. You have to read the request's extras, which come from another app and cannot be trusted. You have to write the photo into the URI the caller gave you, or return a thumbnail if it gave none. And you have to finish the activity with the right result code.
system_intents is a Flutter plugin for that job. It gives you typed requests in Dart and safe replies to startActivityForResult callers. It is Android only : iOS apps cannot register as the system camera or clock handler, so there is no equivalent to support.
What it does
Reading the intent.…