Im trying to use the AboutDialog but I want to change the button labels fitting to another language.
This is how the class gets the String value for the labeling:
TextButton(
child: Text(MaterialLocalizations.of(context).closeButtonLabel),
onPressed: () {
Navigator.pop(context);
},
),
I know I could just do a custom Dialog. But I wonder if it would be possible.
Thanks in advance!