-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Description
hi @searchy2
with the new version that supports landscape responsiveness, im getting an error thats being thrown by flutter itself.
i know its the plugin causing the error because when i comment out the code for responsive framework, the error goes away
the error is:
The following StateError was thrown during a scheduler callback:
Bad state: No element
When the exception was thrown, this was the stack:
#0 ListIterable.firstWhere (dart:_internal/iterable.dart:107:5)
#1 _ResponsiveWrapperState.getActiveBreakpointSegment
(package:responsive_framework/responsive_wrapper.dart:537:10)
#2 _ResponsiveWrapperState.getScreenWidth
(package:responsive_framework/responsive_wrapper.dart:233:31)
#3 _ResponsiveWrapperState.setDimensions
(package:responsive_framework/responsive_wrapper.dart:499:19)
#4 _ResponsiveWrapperState.initState.<anonymous closure>
(package:responsive_framework/responsive_wrapper.dart:581:7)
#5 SchedulerBinding._invokeFrameCallback
(package:flutter/src/scheduler/binding.dart:1144:15)
#6 SchedulerBinding.handleDrawFrame
(package:flutter/src/scheduler/binding.dart:1090:9)
#7 SchedulerBinding.scheduleWarmUpFrame.<anonymous closure>
(package:flutter/src/scheduler/binding.dart:865:7)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and
dart:async-patch)
please check
Metadata
Metadata
Assignees
Labels
No labels