showUpdateContent static method

void showUpdateContent(
  1. BuildContext context,
  2. String content
)

Implementation

static void showUpdateContent(BuildContext context, String content) =>
    showDialog(
      context: context,
      builder: (BuildContext context) => DefaultDialog(
        title: ApLocalizations.of(context).updateNoteTitle,
        contentWidget: Text(
          content,
          textAlign: TextAlign.center,
          style: TextStyle(color: ApTheme.of(context).grey),
        ),
        actionText: ApLocalizations.of(context).iKnow,
        actionFunction: () => Navigator.of(context).pop(),
      ),
    );