refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -53,9 +53,7 @@ class _ConfigViewerState extends State<ConfigViewer> {
|
|||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('Advanced configurations'),
|
||||
leading: BackButton(
|
||||
onPressed: () => context.go('/'),
|
||||
),
|
||||
leading: BackButton(onPressed: () => context.go('/')),
|
||||
),
|
||||
body: Column(
|
||||
children: [
|
||||
|
|
@ -65,9 +63,7 @@ class _ConfigViewerState extends State<ConfigViewer> {
|
|||
color: theme.colorScheme.errorContainer,
|
||||
child: Text(
|
||||
'Changing configs by hand is untested! Use without any warranty!',
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.onErrorContainer,
|
||||
),
|
||||
style: TextStyle(color: theme.colorScheme.onErrorContainer),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue