RITLAlert constructor

RITLAlert({
  1. required BuildContext context,
  2. String? id,
  3. required String title,
  4. RITLAlertStyle style = const RITLAlertStyle(),
  5. TextStyle titleStyle = const TextStyle(),
  6. String? message = "",
  7. TextStyle messageStyle = const TextStyle(),
  8. List<RITLAlertAction>? buttons,
  9. bool onWillPopActive = false,
  10. bool useRootNavigator = true,
})

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});