[flutter_local_notifications] Add "selectable" property for AndroidNotificationDetails to disable click actions on the notification
This PR introduces a new option to disable click actions on notifications from Flutter. In Android, disabling click actions on a notification is achieved by setting the contentIntent to null when building the notification. Currently, there is no option in Flutter to disable the click action.
To address this, I have added a new selectable property that allows developers to control whether the notification is selectable or not. When selectable is set to false, the contentIntent will be set to null, disabling click actions on the notification.
- Default Behavior:
The default value of
selectableistrue, ensuring that existing behavior is not affected unless explicitly changed. - Impact: This change is backward-compatible and will not affect notifications unless the new property is utilized.
@tranleo148 I saw a notification that updated your branch. In case you missed it, I requested changes on this PR a while back. Are you going to be able to take a look?