flutter-bloc-cubit-tutorial's People
Forkers
arvind-iyer-2001 rikharthu nwoswo ggouvea-dev tadix amani27 jchan-1024 znext666 darshakpranpariya lolodeguadeloupe axehai emeka-chukwu jordisabat myflutterdevcode s-alih garg-kunal rj777pain diaa-eldeen-alsayed nguynduyanh169 josooosjf crossbread smofe suvamprasd shift14wx abdullah-hussein ianvillamia caculuz-cinks vikil143 satyaroutray1 djani97 dianam9031 pawka798 nic008888 hillarymutaik rasm211d kshitij0910 vaimorss alexandersidum khaledmahmouddev alexjeanderae dev5576 rhemi7 thirupparan bbcbreno whisperfairy svenkeil jithinvarghese kshittiz21 alexeynovichenko leperezl forne14 owoichodickson jvsena42 wanfikrimy ariawanwibowo gtiger165 manslogic ishe19 titisriz hungvanbui rogeriosilva-ifpi dmaina5054 vnt1998 fong1966 charlvs jazzman80 malvernbright jaysalasi saravp123 winozz ajaykallingal konradkrynski brunobgf clementdemade chimukac7 luiz158 chaityavohera abhinaik988 oscarcampohermoso r00khack laksh29 ut321 reyhaanflutter-bloc-cubit-tutorial's Issues
Update to null safety?
The argument type 'BlocProvider<WeatherCubit>' can't be assigned to the parameter type 'Widget'
There seems to be an issue using the BlocProvider in the latest version of Flutter.
i.e
bloc: ^6.1.0
flutter_bloc: ^6.1.1
It just wont allow usage of BlocProvider in the main.dart file.
This is even after I literally copy paste your codes to ensure no errors on my side. I am literally scratching my head over this since I very much need this functionality.
Error thrown: The argument type 'BlocProvider' can't be assigned to the parameter type 'Widget'
If I try to compile without the BlocProvider, then:
New Error:
`/C:/Users/Lefty2020/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/provider-4.3.2+3/lib/single_child_widget.dart:1:1: Error: Error when reading '/C:/Users/Lefty2020/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/nested-0.0.4/lib/nested.dart': The system cannot find the path specified.
export 'package:nested/nested.dart' hide Nested;`
The project is outdated - Null-Safety incompatible
Heyy @ResoDev
I am starting to learn BLoC and Cubit from your tutorial but the starter project isn't compatible with null-safety.
Could I make it compatible to null safety and create a PR, for other to smoothly get started with their learnings?
Usage of equatable mixin
Can't we use equatable mixin to avoid using the equality override?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.