refactor: Migrate to flutter 2

This commit is contained in:
Christian Pauly 2021-03-04 12:28:06 +01:00
commit b0ada828aa
39 changed files with 257 additions and 315 deletions

View file

@ -46,13 +46,13 @@ abstract class PlatformInfos {
useRootNavigator: false,
children: [
Text('Version: $version'),
RaisedButton(
child: Text(L10n.of(context).sourceCode),
OutlinedButton(
onPressed: () => launch(AppConfig.sourceCodeUrl),
child: Text(L10n.of(context).sourceCode),
),
RaisedButton(
child: Text(AppConfig.emojiFontName),
OutlinedButton(
onPressed: () => launch(AppConfig.emojiFontUrl),
child: Text(AppConfig.emojiFontName),
),
SentrySwitchListTile(label: L10n.of(context).sendBugReports),
],