From fc2321291235e8c0f0ab88bc3319f9c7cc8d284d Mon Sep 17 00:00:00 2001 From: Shawn Date: Mon, 4 Dec 2023 12:39:55 -0700 Subject: [PATCH] Enable semantics on startup, closes issue #146 --- lib/logic/app_logic.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/logic/app_logic.dart b/lib/logic/app_logic.dart index 794b4936..8c5b3190 100644 --- a/lib/logic/app_logic.dart +++ b/lib/logic/app_logic.dart @@ -44,6 +44,8 @@ class AppLogic { print( 'Thanks for checking out Wonderous on the web!\nIf you encounter any issues please report them at https://github.com/gskinnerTeam/flutter-wonderous-app/issues.', ); + // Required on web to automatically enable accessibility features + WidgetsFlutterBinding.ensureInitialized().ensureSemantics(); } // Load any bitmaps the views might need