From 54d17dd8bb0df7301865c4a0328553fad2d8ec06 Mon Sep 17 00:00:00 2001 From: Amar Mujagic Date: Sun, 9 Jun 2024 18:15:29 +0200 Subject: [PATCH] Improved docs for UpgraderMessages class --- lib/src/upgrade_messages.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/upgrade_messages.dart b/lib/src/upgrade_messages.dart index 8703bf86..94b0a373 100644 --- a/lib/src/upgrade_messages.dart +++ b/lib/src/upgrade_messages.dart @@ -46,7 +46,9 @@ enum UpgraderMessage { /// String get buttonTitleIgnore => 'My Ignore'; /// } /// -/// UpgradeAlert(upgrader: Upgrader(messages: MyUpgraderMessages()); +/// final upgrader = Upgrader(messages: MyUpgraderMessages()); +/// ... +/// UpgradeAlert(upgrader: upgrader); /// ``` /// class UpgraderMessages {