DarwinNotificationAction.text constructor
DarwinNotificationAction.text(})
Creates a UNTextInputNotificationAction
to collect user defined input.
Implementation
factory DarwinNotificationAction.text(
String identifier,
String title, {
required String buttonTitle,
String? placeholder,
Set<DarwinNotificationActionOption> options =
const <DarwinNotificationActionOption>{},
}) =>
DarwinNotificationAction._(
_DarwinNotificationActionType.text,
identifier,
title,
buttonTitle: buttonTitle,
placeholder: placeholder,
options: options,
);