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
|
|
@ -40,10 +40,7 @@ class ErrorReporter {
|
|||
child: SingleChildScrollView(
|
||||
child: Text(
|
||||
text,
|
||||
style: const TextStyle(
|
||||
fontSize: 14,
|
||||
fontFamily: 'RobotoMono',
|
||||
),
|
||||
style: const TextStyle(fontSize: 14, fontFamily: 'RobotoMono'),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
@ -53,9 +50,7 @@ class ErrorReporter {
|
|||
child: Text(L10n.of(context).close),
|
||||
),
|
||||
AdaptiveDialogAction(
|
||||
onPressed: () => Clipboard.setData(
|
||||
ClipboardData(text: text),
|
||||
),
|
||||
onPressed: () => Clipboard.setData(ClipboardData(text: text)),
|
||||
child: Text(L10n.of(context).copy),
|
||||
),
|
||||
AdaptiveDialogAction(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue