info method

Future<void> info(
  1. BuildContext context,
  2. String message
)

Implementation

Future<void> info(BuildContext context, String message) async {
  return showDialog<void>(
    context: context,
    barrierDismissible: false,
    builder: (BuildContext ctx) {
      return OmegaInfoDialogWidget(
        description: message,
        textColor: OmegaLibConfig.dialogFieldStyle.textColor,
        bgColor: OmegaLibConfig.dialogFieldStyle.bgColor,
      );
    },
  );
}