flutter_bloc_kit 0.0.7 copy "flutter_bloc_kit: ^0.0.7" to clipboard
flutter_bloc_kit: ^0.0.7 copied to clipboard

A flutter_bloc-based architecture (Result, UseCase, Bloc/Event/State separation) and recommended folder structure, extending flutter_basic_kit_library.

0.0.7 #

(요약: State/Event가 Equatable을 상속하도록 변경, global executable(bloc_kit init) 경로에서 자기 자신·flutter_bloc·equatable이 안 잡히던 문제 수정, flutter_native_splash를 dev_dependencies로)

  • Generated State/Event classes now extend Equatable with a props override, giving proper value equality instead of identity equality — this matters for blocTest-style state-sequence assertions and for BlocBuilder/buildWhen rebuild optimizations. Added equatable as a dependency.
  • init now explicitly adds flutter_bloc_kit, flutter_bloc, and equatable to the consumer app's dependencies before mirroring flutter_basic_kit_library. Previously, running via the bloc_kit global executable (as opposed to the documented dart run flutter_bloc_kit:init flow) never added these — generated code imports package:flutter_bloc_kit/..., so this could leave the app with unresolved imports, and also caused flutter_basic_kit_library to be unresolvable, silently falling back to a stale built-in dependency list.
  • Moved flutter_native_splash out of the fallback runtime list into the fallback dev list, matching the same fix in flutter_basic_kit_library 0.0.4.
  • Widened the flutter_basic_kit_library constraint to ">=0.0.4 <0.1.0".

0.0.6 #

(요약: CHANGELOG 비ASCII 비율 정리)

  • Rewrote CHANGELOG.md primarily in English, with a short Korean summary line per version, to keep pub.dev's non-ASCII ratio check passing while staying readable in Korean.

0.0.5 #

(요약: init이 테스트 뼈대도 함께 생성)

  • init now also generates test scaffolding: creates test/presentation/<feature>/<feature>_bloc_test.dart with an initial-state assertion and an emitsInOrder test for the loading on/off state transition (no bloc_test dependency needed), plus a guide comment for injecting fakes into the constructor as use cases grow. The consuming app's package name is read automatically from its pubspec.

0.0.4 #

(요약: basic_kit의 pubspec을 읽어 의존성 자동 미러링)

  • init now reads flutter_basic_kit_library's own pubspec.yaml directly and mirrors all of its runtime and dev dependencies into the consuming app via flutter pub add. The dependency list is no longer hardcoded; flutter_basic_kit_library is now the single source of truth, so adding or updating a library there flows through automatically without touching init (reflects flutter_basic_kit_library ^0.0.3, including intl and flutter_secure_storage).
  • State-management libraries (provider/flutter_bloc/flutter_riverpod) are excluded from mirroring, since each kit already provides its own dependency and re-export, so provider no longer gets pulled into bloc apps.
  • data/domain layers are now created as empty directories, without .gitkeep.
  • Added executables:, so after dart pub global activate flutter_bloc_kit the shorter bloc_kit init [feature] command is available.
  • Added the yaml dependency, used by init to parse flutter_basic_kit_library's pubspec.

0.0.3 #

(요약: init 스캐폴딩 명령 추가)

  • Added the dart run flutter_bloc_kit:init [feature] scaffolding command (bin/init.dart). Generates data/domain layer folders, a minimal runnable presentation/<feature> (state/event/bloc/screen), di/injector.dart, and core/routing/route_paths.dart + router.dart (go_router) scaffolding, without overwriting existing files. Feature name defaults to home. Folder structure matches the provider/riverpod kits.
  • init now automatically runs flutter pub add for go_router. flutter_bloc is already re-exported and provides BlocProvider, so provider is not added.

0.0.2 #

(요약: 라이브러리 진입점에 dartdoc 추가)

  • Added a library; directive with dartdoc to the library entry point (lib/flutter_bloc_kit.dart).

0.0.1 #

(요약: 초기 구성)

  • Initial configuration: added Result, UseCase. Configured flutter_basic_kit_library and flutter_bloc dependencies.
  • Structured example/ into data/domain/presentation/di layers and added a mock-datasource-based photo search (home) feature.
2
likes
160
points
250
downloads

Documentation

API reference

Publisher

verified publisherdotpea.com

Weekly Downloads

A flutter_bloc-based architecture (Result, UseCase, Bloc/Event/State separation) and recommended folder structure, extending flutter_basic_kit_library.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

equatable, flutter, flutter_basic_kit_library, flutter_bloc, yaml

More

Packages that depend on flutter_bloc_kit