How do you make a cubit in Flutter?

CubitProvider( create: (BuildContext context) => CubitA() , child: ChildA(), ); In some cases, CubitProvider can be used to provide an existing cubit to a new portion of the widget tree. This will be most commonly used when an existing cubit needs to be made available to a new route.

Sizin İçin Seçtik  Should I use RxDart?

Leave a Reply

Your email address will not be published. Required fields are marked *