Hi all,
I am building a responsive app using Andrew Daniel's templates as a guideline. They really look great and work well - thanks very much Andrew Daniels.
I am now getting a weird error when trying to open a custom dialog from a list item. As per the responsive example the On Tap action checks the size of the screen. The full page option (small screens) works fine. The large page option, which uses a custom dialog action fails with this error:
dart_sdk.js:5463 Uncaught (in promise) Error: Expected a value of type 'RenderBox', but got one of type 'RenderSliverList'
The error call stack is included below.
Any ideas what is causing this one.
Thanks in advance
Cheers
Dean
Error call stack
Uncaught (in promise) Error: Expected a value of type 'RenderBox', but got one of type 'RenderSliverList'
at Object.throw_ [as throw] (dart_sdk.js:5463:11)
at Object.castError (dart_sdk.js:5422:15)
at Object.cast [as as] (dart_sdk.js:5745:19)
at RenderBox.as_C [as as] (dart_sdk.js:5343:19)
at Object.showAlignedDialog (aligned_dialog.dart:44:59)
at openPortfolioAccountDetail (actions.dart:79:11)
at openPortfolioAccountDetail.next (<anonymous>)
at dart_sdk.js:41432:33
at RootZone.runUnary (dartsdk.js:41265:59)
at FutureListener.thenAwait.handleValue (dartsdk.js:36468:29)
at handleValueCallback (dart_sdk.js:37039:49)
at Future.propagateToListeners (dart_sdk.js:37077:17)
at [_completeWithValue] (dart_sdk.js:36912:23)
at async._AsyncCallbackEntry.new.callback (dart_sdk.js:36946:35)
at Object._microtaskLoop (dart_sdk.js:41740:13)
at startMicrotaskLoop (dartsdk.js:41746:13)
at dart_sdk.js:37302:9