From bedcbca60ac35c72fab0a173071f2cc0813a8726 Mon Sep 17 00:00:00 2001 From: Yannick Mauray Date: Wed, 3 Jul 2024 13:00:30 +0200 Subject: [PATCH] feat: in debug mode, throw an exception is a message is not translated --- lib/src/pages/main_page.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/pages/main_page.dart b/lib/src/pages/main_page.dart index 8ed0313..45a4684 100644 --- a/lib/src/pages/main_page.dart +++ b/lib/src/pages/main_page.dart @@ -23,6 +23,7 @@ class _MainPageState extends State { @override Widget build(BuildContext context) { + GettextLocalizations.of(context).enableExceptions(true); return Scaffold( appBar: AppBar( title: Text(context.t('Main menu')),