flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.95k stars 315 forks source link

Flutter attach not working through Android Studio UI #6943

Open Nikzed opened 8 months ago

Nikzed commented 8 months ago

I do still have a problem with not being able to connect flutter debugger through AS. I do tried switching to VS Code cause of this, flutter attach works fine through VS Code and through terminal. But I can't handle the UI of VS Code and inconvenience of web debugging (through localhost). So I'm really waiting to being able using my lovely AS ui debugging.

Steps to Reproduce

Backstory. I've had some problems with my PC name containing "!" sign. But I've fixed all of this problems renaming my PC profile name. Also I've had some issues with AS being used on different windows entities ( I have 2 windows ), but I've somehow fixed all of these problems.

Right now I'm seeing this in my debug window after connecting through AS UI.

Click me ``` Waiting for a connection from Flutter on sdk gphone64 x86 64... Debug service listening on ws://127.0.0.1:63791/yjqryc89Gcs=/ws Syncing files to device sdk gphone64 x86 64... /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:65:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class ChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:213:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class DeletableChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:279:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class CheckmarkableChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:310:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class SelectableChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:416:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class DisabledChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:460:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class TappableChipAttributes { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/colors.dart:193:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Colors { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/date.dart:10:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class DateUtils { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/elevation_overlay.dart:14:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class ElevationOverlay { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/feedback.dart:84:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Feedback { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/icons.dart:13:1: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. final class PlatformAdaptiveIcons implements Icons { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/icons.dart:153:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Icons { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/binding.dart:48:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract mixin class WidgetsBindingObserver { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/overlay.dart:1641:1: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. final class _OverlayEntryLocation extends LinkedListEntry<_OverlayEntryLocation> { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/overlay.dart:1957:1: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. final class _RenderDeferredLayoutBox extends RenderProxyBox with _RenderTheaterMixin, LinkedListEntry<_RenderDeferredLayoutBox> { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/routes.dart:1958:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract mixin class RouteAware { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/scroll_notification_observer.dart:38:1: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. final class _ListenerEntry extends LinkedListEntry<_ListenerEntry> { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart:764:1: Error: The 'sealed-class' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. sealed class BaseTapAndDragGestureRecognizer extends OneSequenceGestureRecognizer with _TapStatusTrackerMixin { ^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/animated_icons/animated_icons_data.dart:27:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class AnimatedIcons { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/foundation/change_notifier.dart:134:1: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. mixin class ChangeNotifier implements Listenable { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/foundation/licenses.dart:285:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class LicenseRegistry { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/foundation/unicode.dart:13:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Unicode { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/clipboard.dart:26:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Clipboard { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/deferred_component.dart:27:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class DeferredComponent { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/haptic_feedback.dart:12:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class HapticFeedback { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/system_channels.dart:13:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SystemChannels { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/system_chrome.dart:361:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SystemChrome { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/system_navigator.dart:8:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SystemNavigator { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/services/system_sound.dart:29:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SystemSound { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/rendering/layout_helper.dart:20:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class ChildLayoutHelper { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/rendering/selection.dart:209:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SelectionUtils { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/rendering/viewport.dart:32:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class RenderAbstractViewport extends RenderObject { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/cupertino/colors.dart:40:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class CupertinoColors { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/cupertino/icons.dart:63:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class CupertinoIcons { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/animation/curves.dart:1357:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class Curves { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/gestures/converter.dart:40:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class PointerEventConverter { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/gestures/hit_test.dart:18:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class HitTestable { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/gestures/hit_test.dart:27:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class HitTestDispatcher { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/gestures/hit_test.dart:33:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract interface class HitTestTarget { ^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/painting/matrix_utils.dart:11:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class MatrixUtils { ^^^^^ /D:/src/flutter/packages/flutter/lib/src/semantics/semantics_service.dart:20:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class SemanticsService { ^^^^^ /D:/src/flutter/packages/flutter_test/lib/src/event_simulation.dart:41:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class KeyEventSimulator { ^^^^^ /D:/src/flutter/packages/flutter_test/lib/src/test_async_utils.dart:47:10: Error: The 'class-modifiers' language feature is disabled for this library. Try removing the package language version or setting the language version to 3.0 or higher. abstract final class TestAsyncUtils { ^^^^^ Error: Couldn't resolve the package 'mask_text_input_formatter' in 'package:mask_text_input_formatter/mask_text_input_formatter.dart'. ../lib/src/domain/helpers/vat/vat_input_formatter.dart:2:8: Error: Not found: 'package:mask_text_input_formatter/mask_text_input_formatter.dart' import 'package:mask_text_input_formatter/mask_text_input_formatter.dart'; ^ ../lib/src/domain/helpers/passport/passport_input_formatter.dart:2:8: Error: Not found: 'package:mask_text_input_formatter/mask_text_input_formatter.dart' import 'package:mask_text_input_formatter/mask_text_input_formatter.dart'; ^ Error: Couldn't resolve the package 'flutter_speech' in 'package:flutter_speech/flutter_speech.dart'. Error: Couldn't resolve the package 'jumping_dot' in 'package:jumping_dot/jumping_dot.dart'. ../lib/src/presentation/widgets/microphone/speech_recognition_dialog.dart:2:8: Error: Not found: 'package:flutter_speech/flutter_speech.dart' import 'package:flutter_speech/flutter_speech.dart'; ^ ../lib/src/presentation/widgets/microphone/speech_recognition_dialog.dart:3:8: Error: Not found: 'package:jumping_dot/jumping_dot.dart' import 'package:jumping_dot/jumping_dot.dart'; ^ ../lib/src/domain/helpers/vat/vat_input_formatter.dart:4:33: Error: Type 'MaskTextInputFormatter' not found. class VatInputFormatter extends MaskTextInputFormatter { ^^^^^^^^^^^^^^^^^^^^^^ ../lib/src/domain/helpers/passport/passport_input_formatter.dart:5:38: Error: Type 'MaskTextInputFormatter' not found. class PassportInputFormatter extends MaskTextInputFormatter { ^^^^^^^^^^^^^^^^^^^^^^ ../lib/src/presentation/widgets/microphone/speech_recognition_dialog.dart:30:8: Error: Type 'SpeechRecognition' not found. late SpeechRecognition _speech; ^^^^^^^^^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart:764:14: Error: The non-abstract class 'BaseTapAndDragGestureRecognizer' is missing implementations for these members: - BaseTapAndDragGestureRecognizer._getDeltaForDetails - BaseTapAndDragGestureRecognizer._getPrimaryValueFromOffset - BaseTapAndDragGestureRecognizer._hasSufficientGlobalDistanceToAccept Try to either - provide an implementation, - inherit an implementation from a superclass or mixin, - mark the class as abstract, or - provide a 'noSuchMethod' implementation. sealed class BaseTapAndDragGestureRecognizer extends OneSequenceGestureRecognizer with _TapStatusTrackerMixin { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart:924:10: Context: 'BaseTapAndDragGestureRecognizer._getDeltaForDetails' is defined here. Offset _getDeltaForDetails(Offset delta); ^^^^^^^^^^^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart:925:11: Context: 'BaseTapAndDragGestureRecognizer._getPrimaryValueFromOffset' is defined here. double? _getPrimaryValueFromOffset(Offset value); ^^^^^^^^^^^^^^^^^^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/widgets/tap_and_drag_gestures.dart:926:8: Context: 'BaseTapAndDragGestureRecognizer._hasSufficientGlobalDistanceToAccept' is defined here. bool _hasSufficientGlobalDistanceToAccept(PointerDeviceKind pointerDeviceKind); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /D:/Users/DN270401ZNV/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/lib/src/error_matchers.dart:19:49: Error: 'CyclicInitializationError' isn't a type. const isCyclicInitializationError = TypeMatcher(); ^^^^^^^^^^^^^^^^^^^^^^^^^ /D:/Users/DN270401ZNV/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.13/lib/src/error_matchers.dart:31:39: Error: 'NullThrownError' isn't a type. const isNullThrownError = TypeMatcher(); ^^^^^^^^^^^^^^^ /D:/src/flutter/packages/flutter/lib/src/material/action_buttons.dart:106:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/app.dart:859:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/app_bar.dart:770:9: Error: Switch case may fall through to the next case. case AxisDirection.up: ^ /D:/src/flutter/packages/flutter/lib/src/material/app_bar.dart:773:9: Error: Switch case may fall through to the next case. case AxisDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/app_bar.dart:955:9: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/app_bar.dart:2132:7: Error: Switch case may fall through to the next case. case _ScrollUnderFlexibleVariant.medium: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:517:7: Error: Switch case may fall through to the next case. case BottomNavigationBarType.fixed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:857:15: Error: Switch case may fall through to the next case. case AnimationStatus.completed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:925:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:966:7: Error: Switch case may fall through to the next case. case BottomNavigationBarType.fixed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:989:7: Error: Switch case may fall through to the next case. case BottomNavigationBarType.fixed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:1016:7: Error: Switch case may fall through to the next case. case BottomNavigationBarType.fixed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:1093:7: Error: Switch case may fall through to the next case. case BottomNavigationBarType.fixed: ^ /D:/src/flutter/packages/flutter/lib/src/material/bottom_navigation_bar.dart:1264:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/button.dart:411:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:358:9: Error: Switch case may fall through to the next case. case VerticalDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:378:15: Error: Switch case may fall through to the next case. case MainAxisAlignment.center: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:381:15: Error: Switch case may fall through to the next case. case MainAxisAlignment.end: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:376:11: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:391:15: Error: Switch case may fall through to the next case. case MainAxisAlignment.center: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:394:15: Error: Switch case may fall through to the next case. case MainAxisAlignment.end: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_bar.dart:405:11: Error: Switch case may fall through to the next case. case VerticalDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/button_style_button.dart:415:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/calendar_date_picker.dart:199:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:499:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/checkbox_list_tile.dart:460:7: Error: Switch case may fall through to the next case. case false: ^ /D:/src/flutter/packages/flutter/lib/src/material/checkbox_list_tile.dart:462:7: Error: Switch case may fall through to the next case. case true: ^ /D:/src/flutter/packages/flutter/lib/src/material/checkbox_list_tile.dart:474:7: Error: Switch case may fall through to the next case. case _CheckboxType.material: ^ /D:/src/flutter/packages/flutter/lib/src/material/checkbox_list_tile.dart:514:7: Error: Switch case may fall through to the next case. case ListTileControlAffinity.leading: ^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:1269:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:1789:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:1889:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/chip.dart:1909:9: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/circle_avatar.dart:208:9: Error: Switch case may fall through to the next case. case Brightness.dark: ^ /D:/src/flutter/packages/flutter/lib/src/material/circle_avatar.dart:215:9: Error: Switch case may fall through to the next case. case Brightness.dark: ^ /D:/src/flutter/packages/flutter/lib/src/material/color_scheme.dart:206:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/color_scheme.dart:1066:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:420:9: Error: Switch case may fall through to the next case. case DatePickerEntryMode.calendar: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:424:9: Error: Switch case may fall through to the next case. case DatePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:488:9: Error: Switch case may fall through to the next case. case DatePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:576:7: Error: Switch case may fall through to the next case. case DatePickerEntryMode.calendar: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:585:7: Error: Switch case may fall through to the next case. case DatePickerEntryMode.calendarOnly: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:589:7: Error: Switch case may fall through to the next case. case DatePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:1306:9: Error: Switch case may fall through to the next case. case DatePickerEntryMode.calendar: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:1310:9: Error: Switch case may fall through to the next case. case DatePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:1366:7: Error: Switch case may fall through to the next case. case DatePickerEntryMode.calendar: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:1764:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:2286:11: Error: Switch case may fall through to the next case. case TraversalDirection.up: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:2602:7: Error: Switch case may fall through to the next case. case _HighlightPainterStyle.highlightTrailing: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:2607:7: Error: Switch case may fall through to the next case. case _HighlightPainterStyle.highlightLeading: ^ /D:/src/flutter/packages/flutter/lib/src/material/date_picker.dart:2612:7: Error: Switch case may fall through to the next case. case _HighlightPainterStyle.highlightAll: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:506:9: Error: Switch case may fall through to the next case. case AnimationStatus.completed: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:538:7: Error: Switch case may fall through to the next case. case AnimationStatus.forward: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:540:7: Error: Switch case may fall through to the next case. case AnimationStatus.reverse: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:594:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:620:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:683:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:697:9: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/drawer.dart:726:9: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/dropdown.dart:121:7: Error: Switch case may fall through to the next case. case FocusHighlightMode.touch: ^ /D:/src/flutter/packages/flutter/lib/src/material/dropdown.dart:376:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/dropdown_menu.dart:393:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/flexible_space_bar.dart:288:13: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:560:7: Error: Switch case may fall through to the next case. case _FloatingActionButtonType.regular: ^ /D:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:562:7: Error: Switch case may fall through to the next case. case _FloatingActionButtonType.small: ^ /D:/src/flutter/packages/flutter/lib/src/material/floating_action_button.dart:564:7: Error: Switch case may fall through to the next case. case _FloatingActionButtonType.large: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_highlight.dart:112:7: Error: Switch case may fall through to the next case. case BoxShape.circle: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:936:7: Error: Switch case may fall through to the next case. case _HighlightType.pressed: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:938:7: Error: Switch case may fall through to the next case. case _HighlightType.hover: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:961:13: Error: Switch case may fall through to the next case. case _HighlightType.pressed: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:963:13: Error: Switch case may fall through to the next case. case _HighlightType.focus: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:993:7: Error: Switch case may fall through to the next case. case _HighlightType.pressed: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:995:7: Error: Switch case may fall through to the next case. case _HighlightType.hover: ^ /D:/src/flutter/packages/flutter/lib/src/material/ink_well.dart:1080:7: Error: Switch case may fall through to the next case. case FocusHighlightMode.touch: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_border.dart:529:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_decorator.dart:1364:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_decorator.dart:1393:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_decorator.dart:1473:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_decorator.dart:1498:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/input_decorator.dart:1564:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: // origin is on the right ^ /D:/src/flutter/packages/flutter/lib/src/material/material.dart:441:9: Error: Switch case may fall through to the next case. case MaterialType.canvas: ^ /D:/src/flutter/packages/flutter/lib/src/material/material.dart:443:9: Error: Switch case may fall through to the next case. case MaterialType.card: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:1278:11: Error: Switch case may fall through to the next case. case false: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:1280:11: Error: Switch case may fall through to the next case. case true: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:1824:11: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:1822:7: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2034:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2327:11: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2325:7: Error: Switch case may fall through to the next case. case TraversalDirection.up: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2343:11: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2341:7: Error: Switch case may fall through to the next case. case TraversalDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2356:15: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2354:11: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2367:15: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2379:19: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2352:7: Error: Switch case may fall through to the next case. case TraversalDirection.left: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2400:15: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2398:11: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2413:19: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:2411:15: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:3102:11: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:3114:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:3264:7: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/menu_anchor.dart:3410:7: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/navigation_rail.dart:596:7: Error: Switch case may fall through to the next case. case NavigationRailLabelType.none: ^ /D:/src/flutter/packages/flutter/lib/src/material/navigation_rail.dart:668:7: Error: Switch case may fall through to the next case. case NavigationRailLabelType.selected: ^ /D:/src/flutter/packages/flutter/lib/src/material/page_transitions_theme.dart:858:7: Error: Switch case may fall through to the next case. case AnimationStatus.dismissed: ^ /D:/src/flutter/packages/flutter/lib/src/material/popup_menu.dart:719:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/popup_menu.dart:1243:7: Error: Switch case may fall through to the next case. case PopupMenuPosition.over: ^ /D:/src/flutter/packages/flutter/lib/src/material/progress_indicator.dart:195:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/radio.dart:443:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/radio_list_tile.dart:442:7: Error: Switch case may fall through to the next case. case _RadioType.material: ^ /D:/src/flutter/packages/flutter/lib/src/material/radio_list_tile.dart:476:7: Error: Switch case may fall through to the next case. case ListTileControlAffinity.leading: ^ /D:/src/flutter/packages/flutter/lib/src/material/range_slider.dart:560:9: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/range_slider.dart:1139:7: Error: Switch case may fall through to the next case. case Thumb.start: ^ /D:/src/flutter/packages/flutter/lib/src/material/range_slider.dart:1398:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/range_slider.dart:1583:9: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/range_slider.dart:1698:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:355:7: Error: Switch case may fall through to the next case. case AxisDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:397:9: Error: Switch case may fall through to the next case. case _RefreshIndicatorMode.armed: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:399:9: Error: Switch case may fall through to the next case. case _RefreshIndicatorMode.drag: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:429:7: Error: Switch case may fall through to the next case. case AxisDirection.down: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:467:7: Error: Switch case may fall through to the next case. case _RefreshIndicatorMode.done: ^ /D:/src/flutter/packages/flutter/lib/src/material/refresh_indicator.dart:469:7: Error: Switch case may fall through to the next case. case _RefreshIndicatorMode.canceled: ^ /D:/src/flutter/packages/flutter/lib/src/material/reorderable_list.dart:441:9: Error: Switch case may fall through to the next case. case Axis.horizontal: ^ /D:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:354:7: Error: Switch case may fall through to the next case. case AnimationStatus.dismissed: ^ /D:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:363:7: Error: Switch case may fall through to the next case. case AnimationStatus.completed: ^ /D:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:489:7: Error: Switch case may fall through to the next case. case AnimationStatus.dismissed: ^ /D:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:498:7: Error: Switch case may fall through to the next case. case AnimationStatus.completed: ^ /D:/src/flutter/packages/flutter/lib/src/material/scaffold.dart:2910:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/scrollbar.dart:309:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/scrollbar.dart:402:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/search.dart:542:7: Error: Switch case may fall through to the next case. case _SearchBody.suggestions: ^ /D:/src/flutter/packages/flutter/lib/src/material/search.dart:547:7: Error: Switch case may fall through to the next case. case _SearchBody.results: ^ /D:/src/flutter/packages/flutter/lib/src/material/search.dart:558:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/segmented_button.dart:593:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/segmented_button.dart:636:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/selectable_text.dart:91:9: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/selectable_text.dart:628:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/selectable_text.dart:639:7: Error: Switch case may fall through to the next case. case TargetPlatform.macOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/selectable_text.dart:650:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/selection_area.dart:126:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/selection_area.dart:129:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/selection_area.dart:131:7: Error: Switch case may fall through to the next case. case TargetPlatform.linux: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:649:11: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:647:7: Error: Switch case may fall through to the next case. case _SliderAdjustmentType.right: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:656:11: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:654:7: Error: Switch case may fall through to the next case. case _SliderAdjustmentType.left: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:661:7: Error: Switch case may fall through to the next case. case _SliderAdjustmentType.up: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:835:7: Error: Switch case may fall through to the next case. case NavigationMode.directional: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:1479:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider.dart:1553:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:1585:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:1696:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:1859:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:1988:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:2107:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/slider_theme.dart:2189:7: Error: Switch case may fall through to the next case. case TextDirection.ltr: ^ /D:/src/flutter/packages/flutter/lib/src/material/stepper.dart:503:7: Error: Switch case may fall through to the next case. case Brightness.light: ^ /D:/src/flutter/packages/flutter/lib/src/material/switch.dart:754:9: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/switch.dart:1278:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/switch_list_tile.dart:515:7: Error: Switch case may fall through to the next case. case _SwitchListTileType.adaptive: ^ /D:/src/flutter/packages/flutter/lib/src/material/switch_list_tile.dart:569:7: Error: Switch case may fall through to the next case. case ListTileControlAffinity.leading: ^ /D:/src/flutter/packages/flutter/lib/src/material/tabs.dart:293:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/tabs.dart:420:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/tabs.dart:1263:7: Error: Switch case may fall through to the next case. case TextDirection.rtl: ^ /D:/src/flutter/packages/flutter/lib/src/material/text_field.dart:1262:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/text_field.dart:1288:7: Error: Switch case may fall through to the next case. case TargetPlatform.iOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/text_field.dart:1300:7: Error: Switch case may fall through to the next case. case TargetPlatform.macOS: ^ /D:/src/flutter/packages/flutter/lib/src/material/text_field.dart:1317:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/text_field.dart:1326:7: Error: Switch case may fall through to the next case. case TargetPlatform.linux: ^ /D:/src/flutter/packages/flutter/lib/src/material/theme_data.dart:440:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:330:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:467:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:555:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:573:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:616:11: Error: Switch case may fall through to the next case. case Orientation.portrait: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:612:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:629:7: Error: Switch case may fall through to the next case. case Orientation.portrait: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:846:7: Error: Switch case may fall through to the next case. case Orientation.portrait: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1150:7: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1152:7: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHourDoubleRing: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1159:7: Error: Switch case may fall through to the next case. case _HourMinuteMode.hour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1173:11: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1175:11: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHourDoubleRing: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1268:9: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1302:11: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1300:7: Error: Switch case may fall through to the next case. case _HourMinuteMode.hour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1520:11: Error: Switch case may fall through to the next case. case _HourDialType.twentyFourHour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1518:7: Error: Switch case may fall through to the next case. case _HourMinuteMode.hour: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2232:11: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2234:11: Error: Switch case may fall through to the next case. case TimePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2249:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2251:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2295:11: Error: Switch case may fall through to the next case. case TimeOfDayFormat.HH_colon_mm: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2321:11: Error: Switch case may fall through to the next case. case Orientation.portrait: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2318:7: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2335:11: Error: Switch case may fall through to the next case. case TimeOfDayFormat.HH_colon_mm: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2407:7: Error: Switch case may fall through to the next case. case MaterialTapTargetSize.padded: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2629:7: Error: Switch case may fall through to the next case. case TargetPlatform.android: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2656:9: Error: Switch case may fall through to the next case. case TimePickerEntryMode.dial: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2658:9: Error: Switch case may fall through to the next case. case TimePickerEntryMode.input: ^ /D:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:2677:7: Error: Switch case may fall through to the next case. case _HourMinuteMode.hour: ^ ```

Version info

[!] Flutter (Channel unknown, 3.10.5, on Microsoft Windows [Version 10.0.19045.3448], locale uk-UA)
    ! Flutter version 3.10.5 on channel unknown at D:\src\flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Framework revision 796c8ef792 (4 months ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at D:\Users\DN270401ZNV\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: D:\Program Files\Android\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.3)
    • Android Studio at D:\Program Files\Android
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.81.1)
    • VS Code at D:\Users\DN270401ZNV\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.72.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 14 (API 34) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19045.3448]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 118.0.5993.88
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 118.0.2088.46

[√] Network resources
    • All expected network resources are available.

We do use flutter: '>=3.10.5' in our project and it seems to work perfectly fine on other computers. But the problem is that I don't want to reinstall windows because it has company settings and I don't want to do it. So please, help me! I've tried flutter clean, cache repair, and reinstalling AS itself and flutter.

pubspec.yaml ``` name: n description: d version: 0.0.1 publish_to: none environment: sdk: '>=3.0.0 <4.0.0' flutter: '>=3.10.5' dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter cupertino_icons: ^1.0.2 get_it: ^7.2.0 flutter_bloc: ^8.1.1 hydrated_bloc: ^9.0.0 equatable: ^2.0.3 flutter_hooks: ^0.18.5+1 floor: ^1.2.0 retrofit: 3.0.1 ionicons: ^0.1.2 json_annotation: ^4.4.0 dio: 4.0.6 dio_cookie_manager: 2.0.0 uuid: 3.0.6 rxdart: 0.27.5 rxdart_ext: 0.2.0 intl: 0.18.0 flutter_svg: ^1.1.5 shared_preferences: ^2.0.13 tuple: 2.0.0 badges: ^2.0.2 flutter_sticky_header: ^0.6.1 sliver_tools: ^0.2.9 bottom_sheet: 3.1.2 easy_pdf_viewer: ^1.0.2 path_provider: ^2.0.11 share_plus: ^7.0.2 collection: 1.17.1 page_view_indicators: ^2.0.0 dotted_border: ^2.0.0+1 analyzer: 5.13.0 infinite_scroll_pagination: ^3.2.0 flutter_html: 3.0.0-alpha.5 flutter_html_table: ^3.0.0-alpha.3 string_to_hex: ^0.2.2 skeletons: git: url: git@git.privatbank.ua:p24b_mobile/Skeletons.git ref: master loader_overlay: ^2.0.10 theme_tailor_annotation: ^1.0.3 flutter_slidable: ^2.0.0 styled_text: ^7.0.0 marquee: ^2.2.3 firebase_performance: 0.9.2+6 flutter_advanced_switch: 3.0.1 sliding_up_panel: 2.0.0+1 package_info_plus: ^4.1.0 device_info_plus: ^9.0.2 firebase_crashlytics: 3.3.6 firebase_analytics: 10.5.0 firebase_core: 2.16.0 channels_sdk: git: url: git@git.microaws.com:flutter/channels_sdk.git ref: 6.61.00__66110__25_09_2023_10_45_05 modal_bottom_sheet: 3.0.0-pre expandable: ^5.0.1 overlay_support: ^2.1.0 persistent_header_adaptive: ^2.0.0 assorted_layout_widgets: ^8.0.4 youtube_player_iframe: ^4.0.4 expandable_page_view: ^1.0.17 mask_text_input_formatter: 2.5.0 hive: ^2.2.3 hive_generator: ^2.0.1 flutter_speech: ^2.0.0 avatar_glow: ^2.0.2 lottie: ^2.3.2 jumping_dot: ^0.0.6 permission_handler: ^10.4.5 dependency_overrides: test_api: 0.5.1 dev_dependencies: flutter_test: sdk: flutter retrofit_generator: any json_serializable: ^6.1.5 build_runner: 2.4.6 # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^1.0.0 # flutter pub run dependency_validator dependency_validator: 3.2.2 mockito: 5.4.2 bloc_test: 9.1.4 theme_tailor: ^1.0.6 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter. flutter: assets: - assets/ - assets/res/ - assets/anim/ # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true # This section identifies your Flutter project as a module meant for # embedding in a native host app. These identifiers should _not_ ordinarily # be changed after generation - they are used to ensure that the tooling can # maintain consistency when adding or modifying assets and plugins. # They also do not have any bearing on your native host application's # identifiers, which may be completely independent or the same as these. module: androidX: true androidPackage: ua.privatbank.p24bf iosBundleIdentifier: ua.privatbank.p24bf flutter_intl: enabled: true ```
tieorange commented 5 months ago

Same here!