showInfo static method

Future<void> showInfo({
  1. required String title,
  2. String? message,
})

Shows a simple informational alert with an OK button.

Implementation

static Future<void> showInfo({required String title, String? message}) async {
  await show(
    title: title,
    message: message,
    actions: [
      CNAlertAction(title: 'OK', style: CNAlertActionStyle.defaultStyle),
    ],
  );
}