Code Monkey home page Code Monkey logo

flutter-bloc-cubit-tutorial's People

Contributors

resodev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flutter-bloc-cubit-tutorial's Issues

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.