diff --git a/plugins/modular_bloc_bind/CHANGELOG.md b/plugins/modular_bloc_bind/CHANGELOG.md index effe43c8..3e54e89d 100644 --- a/plugins/modular_bloc_bind/CHANGELOG.md +++ b/plugins/modular_bloc_bind/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- fix: Cubit support + ## 1.0.0 - Initial version. diff --git a/plugins/modular_bloc_bind/example/pubspec.yaml b/plugins/modular_bloc_bind/example/pubspec.yaml index e6fd30f3..b6777176 100644 --- a/plugins/modular_bloc_bind/example/pubspec.yaml +++ b/plugins/modular_bloc_bind/example/pubspec.yaml @@ -30,7 +30,7 @@ dependencies: flutter: sdk: flutter bloc: ^8.0.3 - flutter_modular: 5.0.0 + flutter_modular: 5.0.1 dartz: ^0.10.0-nullsafety.2 http: ^0.13.0 bloc_concurrency: ^0.2.0 diff --git a/plugins/modular_bloc_bind/lib/src/modular_bloc_bind_base.dart b/plugins/modular_bloc_bind/lib/src/modular_bloc_bind_base.dart index a03ea0ce..e9c5f56e 100644 --- a/plugins/modular_bloc_bind/lib/src/modular_bloc_bind_base.dart +++ b/plugins/modular_bloc_bind/lib/src/modular_bloc_bind_base.dart @@ -3,7 +3,7 @@ import 'package:flutter_modular/flutter_modular.dart'; import 'package:modular_interfaces/modular_interfaces.dart'; class BlocBind { - static Bind singleton( + static Bind singleton( T Function(Injector i) factoryFunction, { bool export = false, }) { @@ -14,7 +14,7 @@ class BlocBind { }); } - static Bind lazySingleton( + static Bind lazySingleton( T Function(Injector i) factoryFunction, { bool export = false, }) { @@ -25,7 +25,7 @@ class BlocBind { }); } - static Bind factory( + static Bind factory( T Function(Injector i) factoryFunction, { bool export = false, }) { @@ -36,7 +36,7 @@ class BlocBind { }); } - static Bind instance( + static Bind instance( T bloc, { bool export = false, }) { diff --git a/plugins/modular_bloc_bind/pubspec.yaml b/plugins/modular_bloc_bind/pubspec.yaml index c02aade7..02e7a5ee 100644 --- a/plugins/modular_bloc_bind/pubspec.yaml +++ b/plugins/modular_bloc_bind/pubspec.yaml @@ -1,6 +1,6 @@ name: modular_bloc_bind description: Smart project structure with dependency injection and route management -version: 1.0.0 +version: 1.0.1 homepage: https://github.com/Flutterando/modular environment: @@ -9,8 +9,8 @@ environment: dependencies: bloc: ^8.0.3 stream_transform: ^2.0.0 - flutter_modular: ">=5.0.0 <6.0.0" - modular_interfaces: ">=2.0.0 <3.0.0" + flutter_modular: ">=5.0.1 <6.0.0" + modular_interfaces: ">=2.0.1 <3.0.0" flutter: sdk: flutter