Skip to content

Commit

Permalink
Fix platformSupportsDismissingBarrier assertion
Browse files Browse the repository at this point in the history
Fixes:
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building ModalBarrier(dirty):
flutter: 'package:flutter/src/widgets/modal_barrier.dart': Failed assertion: line 88 pos 12:
flutter: 'platformSupportsDismissingBarrier != null': is not true.
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: Widget creation tracking is currently disabled. Enabling it enables improved error messages. It can
flutter: be enabled by passing `--track-widget-creation` to `flutter run` or `flutter test`.
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #2      ModalBarrier.build (package:flutter/src/widgets/modal_barrier.dart:88:12)
flutter: #3      StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28)
flutter: #4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15)
flutter: #5      Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #6      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: #7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: #8      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #9      Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #10     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: #11     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #12     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #13     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #14     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #15     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: #16     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: #17     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: #18     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #19     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5235:32)
flutter: #20     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #22     _TheatreElement.mount (package:flutter/src/widgets/overlay.dart:593:16)
flutter: #23     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #24     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #25     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #26     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #27     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: #28     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: #29     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: #30     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #31     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #33     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #34     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: #35     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: #36     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #37     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #38     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: #39     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #40     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #41     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #42     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #43     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: #44     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: #45     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: #46     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: #47     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: #48     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: flutter#49     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#50     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#51     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: flutter#52     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#53     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#55     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#56     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#57     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#58     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#59     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#61     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#62     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#63     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#64     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#65     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#66     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#68     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#69     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#70     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#71     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#72     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#73     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#74     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#75     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#76     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#77     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#78     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#79     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#80     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#81     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#82     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#83     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#84     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#85     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#86     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#87     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#88     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#89     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#90     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#91     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#92     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#93     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#94     ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#95     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#96     Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#97     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#98     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#99     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#100    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#101    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#102    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#103    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#104    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#105    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#106    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#107    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#108    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#109    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#110    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#111    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#112    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#113    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#114    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#115    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#116    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#117    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#118    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#119    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#120    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#121    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#122    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#123    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#124    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#125    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#126    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#127    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#128    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#129    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#130    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#131    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#132    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#133    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#134    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#135    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#136    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#137    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#138    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
LOG: wayland_display.cc:57: Window resized: 800x600
flutter: flutter#139    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#140    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#141    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#142    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#143    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#144    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#145    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#146    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#147    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#148    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#149    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#150    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#151    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#152    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#153    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#154    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#155    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#156    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#157    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#158    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#159    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#160    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#161    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#162    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#163    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#164    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#165    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#166    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#167    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#168    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#169    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#170    SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: flutter#171    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#172    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#173    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#174    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#175    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#176    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#177    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#178    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#179    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#180    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#181    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#182    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#183    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#184    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#185    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#186    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#187    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#188    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#189    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#190    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#191    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#192    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#193    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#194    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#195    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#196    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#197    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#198    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#199    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#200    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#201    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#202    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#203    SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5129:14)
flutter: flutter#204    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#205    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#206    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#207    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#208    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#209    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#210    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#211    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#212    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#213    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#214    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#215    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#216    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#217    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#218    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#219    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#220    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#221    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#222    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#223    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#224    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#225    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#226    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#227    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#228    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#229    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#230    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#231    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#232    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#233    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#234    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#235    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#236    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#237    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#238    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#239    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#240    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#241    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#242    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#243    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#244    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#245    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#246    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#247    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#248    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#249    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#250    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#251    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#252    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#253    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#254    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#255    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#256    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#257    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#258    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#259    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#260    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#261    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#262    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#263    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#264    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: flutter#265    Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: flutter#266    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3917:5)
flutter: flutter#267    StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4081:11)
flutter: flutter#268    ComponentElement.mount (package:flutter/src/widgets/framework.dart:3912:5)
flutter: flutter#269    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3094:14)
flutter: flutter#270    Element.updateChild (package:flutter/src/widgets/framework.dart:2897:12)
flutter: flutter#271    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1027:16)
flutter: flutter#272    RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:998:5)
flutter: flutter#273    RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:941:17)
flutter: flutter#274    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2321:19)
flutter: flutter#275    RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:940:13)
flutter: flutter#276    WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:821:7)
flutter: flutter#277    WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:806:7)
flutter: flutter#286    _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19)
flutter: flutter#287    _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
flutter: flutter#288    _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
flutter: (elided 10 frames from class _AssertionError, package dart:async, and package dart:async-patch)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: A build function returned null.
flutter: Another exception was thrown: 'package:flutter/src/widgets/scroll_position.dart': Failed assertion: line 75 pos 15: 'physics != null': is not true.
LOG: wayland_display.cc:57: Window resized: 800x600
LOG: wayland_display.cc:57: Window resized: 800x600
LOG: wayland_display.cc:57: Window resized: 800x600
  • Loading branch information
dwrobel committed Sep 20, 2019
1 parent a88eb30 commit f408613
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/flutter/lib/src/widgets/modal_barrier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ModalBarrier extends StatelessWidget {
assert(!dismissible || semanticsLabel == null || debugCheckHasDirectionality(context));
bool platformSupportsDismissingBarrier;
switch (defaultTargetPlatform) {
case TargetPlatform.linux:
case TargetPlatform.android:
case TargetPlatform.fuchsia:
platformSupportsDismissingBarrier = false;
Expand Down

0 comments on commit f408613

Please sign in to comment.