RITLAlert constructor
RITLAlert({
- required BuildContext context,
- String? id,
- required String title,
- RITLAlertStyle style = const RITLAlertStyle(),
- TextStyle titleStyle = const TextStyle(),
- String? message = "",
- TextStyle messageStyle = const TextStyle(),
- List<
RITLAlertAction> ? buttons, - bool onWillPopActive = false,
ARITLAlertlert constructor
context
, title
are required.
Implementation
RITLAlert(
{required this.context,
this.id,
required this.title,
this.style = const RITLAlertStyle(),
this.titleStyle = const TextStyle(),
this.message = "",
this.messageStyle = const TextStyle(),
this.buttons,
this.onWillPopActive = false,
this.useRootNavigator = true});