From 9d7e8623dbcfd7498c1cf1bcf5ba4c8b3e99a860 Mon Sep 17 00:00:00 2001 From: Giancarlo Buenaflor Date: Wed, 13 Dec 2023 17:46:43 +0100 Subject: [PATCH] fix(ci): compile error in example using flutter beta channel (#1783) * fix ci --- flutter/example/lib/main.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flutter/example/lib/main.dart b/flutter/example/lib/main.dart index 61c05ab741..4e39b96db2 100644 --- a/flutter/example/lib/main.dart +++ b/flutter/example/lib/main.dart @@ -231,9 +231,8 @@ class MainScaffold extends StatelessWidget { buttonTitle: 'Dart: try catch', ), TooltipButton( - onPressed: () => Scaffold.of(context).showBottomSheet( - (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()',