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 b73bded01a
commit bedcbca60a
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')),