feat: in debug mode, throw an exception is a message is not translated
This commit is contained in:
parent
9e7eeee9b9
commit
57c5c763b9
|
|
@ -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')),
|
||||
|
|
|
|||
Loading…
Reference in New Issue