Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix ci
  • Loading branch information
buenaflor committed Dec 13, 2023
commit 72704f178d7751e5b3fa3cc6da7ada0018fd084d
8 changes: 5 additions & 3 deletions flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ 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