artem888 / bloc_example Goto Github PK
View Code? Open in Web Editor NEWExample application to demonstrate the possible use-case and implementation of BloC architecture in Flutter
Example application to demonstrate the possible use-case and implementation of BloC architecture in Flutter
════════ Exception caught by widgets library ═══════════════════════════════════
The following _TypeError was thrown building WeatherListScreen(dirty, dependencies: [ForecastBlocProvider], state: _WeatherListScreenState#fd8a6):
type '_BroadcastStream' is not a subtype of type 'Stream'
The relevant error-causing widget was
WeatherListScreen
package:bloc_example/main.dart:22
When the exception was thrown, this was the stack
#0 ForecastBloc.forecastStream
package:bloc_example/forecast_bloc.dart:15
#1 _WeatherListScreenState.build
package:bloc_example/main.dart:56
#2 StatefulElement.build
package:flutter/…/widgets/framework.dart:4870
#3 ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4754
#4 StatefulElement.performRebuild
package:flutter/…/widgets/framework.dart:4928
#5 Element.rebuild
package:flutter/…/widgets/framework.dart:4477
#6 ComponentElement._firstBuild
package:flutter/…/widgets/framework.dart:4735
#7 StatefulElement._firstBuild
package:flutter/…/widgets/framework.dart:4919
#8 ComponentElement.mount
package:flutter/…/widgets/framework.dart:4729
... Normal element mounting (177 frames)
#185 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3790
#186 MultiChildRenderObjectElement.inflateWidget
package:flutter/…/widgets/framework.dart:6422
#187 MultiChildRenderObjectElement.mount
package:flutter/…/widgets/framework.dart:6433
... Normal element mounting (377 frames)
#564 Element.inflateWidget
package:flutter/…/widgets/framework.dart:3790
#565 Element.updateChild
package:flutter/…/widgets/framework.dart:3540
#566 RenderObjectToWidgetElement._rebuild
package:flutter/…/widgets/binding.dart:1198
#567 RenderObjectToWidgetElement.mount
package:flutter/…/widgets/binding.dart:1167
#568 RenderObjectToWidgetAdapter.attachToRenderTree.
package:flutter/…/widgets/binding.dart:1112
#569 BuildOwner.buildScope
package:flutter/…/widgets/framework.dart:2600
#570 RenderObjectToWidgetAdapter.attachToRenderTree
package:flutter/…/widgets/binding.dart:1111
#571 WidgetsBinding.attachRootWidget
package:flutter/…/widgets/binding.dart:944
#572 WidgetsBinding.scheduleAttachRootWidget.
package:flutter/…/widgets/binding.dart:924
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.