Skip to content

Commit

Permalink
fix(ci): compile error in example using flutter beta channel (#1783)
Browse files Browse the repository at this point in the history
* fix ci
  • Loading branch information
buenaflor authored Dec 13, 2023
1 parent 13c328d commit 9d7e862
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,8 @@ class MainScaffold extends StatelessWidget {
buttonTitle: 'Dart: try catch',
),
TooltipButton(
onPressed: () => Scaffold.of(context).showBottomSheet<dynamic>(
(context) => const Text('Scaffold error'),
),
onPressed: () => Scaffold.of(context)
.showBottomSheet((context) => const Text('Scaffold error')),
text:
'Creates an uncaught exception and sends it to Sentry. This demonstrates how our flutter error integration catches unhandled exceptions.',
buttonTitle: 'Flutter error : Scaffold.of()',
Expand Down

0 comments on commit 9d7e862

Please sign in to comment.