File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
plugins/modular_bloc_bind Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.1
2+
3+ - fix: Cubit support
4+
15## 1.0.0
26
37- Initial version.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ dependencies:
3030 flutter :
3131 sdk : flutter
3232 bloc : ^8.0.3
33- flutter_modular : 5.0.0
33+ flutter_modular : 5.0.1
3434 dartz : ^0.10.0-nullsafety.2
3535 http : ^0.13.0
3636 bloc_concurrency : ^0.2.0
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import 'package:flutter_modular/flutter_modular.dart';
33import 'package:modular_interfaces/modular_interfaces.dart' ;
44
55class BlocBind {
6- static Bind <T > singleton <T extends Bloc >(
6+ static Bind <T > singleton <T extends BlocBase >(
77 T Function (Injector <dynamic > i) factoryFunction, {
88 bool export = false ,
99 }) {
@@ -14,7 +14,7 @@ class BlocBind {
1414 });
1515 }
1616
17- static Bind <T > lazySingleton <T extends Bloc >(
17+ static Bind <T > lazySingleton <T extends BlocBase >(
1818 T Function (Injector <dynamic > i) factoryFunction, {
1919 bool export = false ,
2020 }) {
@@ -25,7 +25,7 @@ class BlocBind {
2525 });
2626 }
2727
28- static Bind <T > factory < T extends Bloc > (
28+ static Bind <T > factory < T extends BlocBase > (
2929 T Function (Injector <dynamic > i) factoryFunction, {
3030 bool export = false ,
3131 }) {
@@ -36,7 +36,7 @@ class BlocBind {
3636 });
3737 }
3838
39- static Bind <T > instance <T extends Bloc >(
39+ static Bind <T > instance <T extends BlocBase >(
4040 T bloc, {
4141 bool export = false ,
4242 }) {
Original file line number Diff line number Diff line change 11name : modular_bloc_bind
22description : Smart project structure with dependency injection and route management
3- version : 1.0.0
3+ version : 1.0.1
44homepage : https://github.com/Flutterando/modular
55
66environment :
@@ -9,8 +9,8 @@ environment:
99dependencies :
1010 bloc : ^8.0.3
1111 stream_transform : ^2.0.0
12- flutter_modular : " >=5.0.0 <6.0.0"
13- modular_interfaces : " >=2.0.0 <3.0.0"
12+ flutter_modular : " >=5.0.1 <6.0.0"
13+ modular_interfaces : " >=2.0.1 <3.0.0"
1414 flutter :
1515 sdk : flutter
1616
You can’t perform that action at this time.
0 commit comments