showInfo static method

Future<void> showInfo({
  1. required BuildContext context,
  2. required String title,
  3. String? message,
  4. BaseParam? cupertino,
  5. BaseParam? material,
})

Shows a simple informational alert with an OK button.

Implementation

static Future<void> showInfo({
  required BuildContext context,
  required String title,
  String? message,
  BaseParam? cupertino,
  BaseParam? material,
}) async {
  await show(
    context: context,
    title: title,
    message: message,
    actions: [
      BaseAlertAction(
        title: 'OK',
        style: BaseAlertActionStyle.defaultStyle,
      ),
    ],
    cupertino: cupertino,
    material: material,
  );
}