Open nsreenath opened 6 years ago
Custom layouts and "media style" layouts are not supported currently. I looked into this a little bit and it's definitely possible, but it will be a fair amount of more work. My motivation for building this plugin was a use case that just required basic notifications with actions, so I built that first. If anyone wants to extend it to support custom layouts, that'd be great! Otherwise, if/when such support will land depends on my motivation and free time.
On the Android side of things, custom layout support from purely dart code is not possible. See this stackoverflow post. Essentially, the types of views allowed in a custom layout notification on Android is very limited and does not include the view that could render Flutter widgets.
Does it support custom layouts such as placing play/pause buttons on the notification for a music player ?