fluttercommunity / chewie

The video player for Flutter with a heart of gold
MIT License
1.94k stars 1.01k forks source link

Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'. #834

Open azabcodes opened 6 months ago

azabcodes commented 6 months ago

.pub-cache/hosted/pub.dev/chewie-1.0.0/lib/src/chewie_player.dart:144:18: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'. SystemChrome.setEnabledSystemUIOverlays( ^^^^^^^^^^^^^^^^^^^^^^^^^^

             .pub-cache/hosted/pub.dev/chewie-1.0.0/lib/src/chewie_player.dart:161:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
  SystemChrome.setEnabledSystemUIOverlays([]);
azabcodes commented 6 months ago

environment: sdk: '>=3.3.1 <4.0.0'

dependencies: flutter_localizations: sdk: flutter flutter: sdk: flutter

firebase_core: ^2.30.1 firebase_messaging: ^14.9.1 flutter_local_notifications: ^17.1.1 flutter_app_badger: ^1.5.0 flutter_timezone: ^1.0.8 google_maps_flutter: ^2.6.1 geocoding: ^3.0.0 map_location_picker: ^1.2.8+3 flutter_polyline_points: ^2.0.0 flutter_windowmanager: ^0.2.0 uni_links2: ^0.6.0+2

intl: ^0.18.1 flutter_screenutil: ^5.9.0 dio: ^5.4.3+1 http: ^1.2.1 http_parser: ^4.0.2 equatable: ^2.0.5 get_it: ^7.7.0 dartz: ^0.10.1 collection: ^1.18.0 path: ^1.9.0 rxdart: ^0.27.7 path_provider: ^2.1.3

url_launcher: ^6.2.6 cached_network_image: ^3.3.1 flutter_svg: ^2.0.10+1 image: ^4.1.7 cupertino_icons: ^1.0.8 image_picker: ^1.1.0 file_picker: ^8.0.3

flutter_native_splash: ^2.4.0 flutter_launcher_icons: ^0.13.1

bloc_concurrency: ^0.2.5 flutter_bloc: ^8.1.5 stream_transform: ^2.1.0

animate_do: ^3.3.4 flutter_animate: ^4.5.0 flutter_active_loaders: ^7.3.0 shimmer: ^3.0.0 smooth_page_indicator: ^1.1.0 carousel_slider: ^4.2.1 flutter_staggered_animations: ^1.1.1 animations: ^2.0.11

shared_preferences: ^2.2.3 webview_flutter: ^4.7.0 fluttertoast: ^8.2.5 expansion_widget: ^0.1.0 flutter_widget_from_html: ^0.14.11

android_id: ^0.3.6 layout: ^1.0.5 amplitude_flutter: ^3.16.2

overlay_support: ^2.1.0 connectivity_plus: ^6.0.3 lottie: ^3.1.0 x_validation: ^3.2.0 cron: ^0.6.0 vibration: ^1.8.4 pdf: ^3.10.8 screenshot: ^2.3.0

intl_phone_field: ^3.2.0 high_q_paginated_drop_down: ^2.0.1