Skip to content

Commit 9d7e862

Browse files
authored
fix(ci): compile error in example using flutter beta channel (#1783)
* fix ci
1 parent 13c328d commit 9d7e862

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flutter/example/lib/main.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,8 @@ class MainScaffold extends StatelessWidget {
231231
buttonTitle: 'Dart: try catch',
232232
),
233233
TooltipButton(
234-
onPressed: () => Scaffold.of(context).showBottomSheet<dynamic>(
235-
(context) => const Text('Scaffold error'),
236-
),
234+
onPressed: () => Scaffold.of(context)
235+
.showBottomSheet((context) => const Text('Scaffold error')),
237236
text:
238237
'Creates an uncaught exception and sends it to Sentry. This demonstrates how our flutter error integration catches unhandled exceptions.',
239238
buttonTitle: 'Flutter error : Scaffold.of()',

0 commit comments

Comments
 (0)