feat: in debug mode, throw an exception is a message is not translated

This commit is contained in:
Yannick Mauray 2024-07-03 13:00:30 +02:00
parent 9e7eeee9b9
commit 57c5c763b9
No known key found for this signature in database
GPG Key ID: C5C52B9E46D9F148
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class _MainPageState extends State<MainPage> {
@override
Widget build(BuildContext context) {
GettextLocalizations.of(context).enableExceptions(true);
return Scaffold(
appBar: AppBar(
title: Text(context.t('Main menu')),