customLayoutLegacyName property
Specifies the custom notification layout.
Use when to need a custom notification layout.
The layout located in the android/app/main/res/layout
directory of the android application.
The widget id containing the title must be named push_title
.
The widget id containing the text must be named push_text
.
The widget id containing the image must be named push_image
.
Use with versions SDK prior to S (31).
Implementation
final String? customLayoutLegacyName;