flutter_bloc_kit 0.0.6
flutter_bloc_kit: ^0.0.6 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.6 #
(요약: CHANGELOG 비ASCII 비율 정리)
- Rewrote
CHANGELOG.mdprimarily 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이 테스트 뼈대도 함께 생성)
initnow also generates test scaffolding: createstest/presentation/<feature>/<feature>_bloc_test.dartwith an initial-state assertion and anemitsInOrdertest for the loading on/off state transition (nobloc_testdependency 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을 읽어 의존성 자동 미러링)
initnow readsflutter_basic_kit_library's ownpubspec.yamldirectly and mirrors all of its runtime and dev dependencies into the consuming app viaflutter pub add. The dependency list is no longer hardcoded;flutter_basic_kit_libraryis now the single source of truth, so adding or updating a library there flows through automatically without touchinginit(reflectsflutter_basic_kit_library ^0.0.3, includingintlandflutter_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, soproviderno longer gets pulled into bloc apps. - data/domain layers are now created as empty directories, without
.gitkeep. - Added
executables:, so afterdart pub global activate flutter_bloc_kitthe shorterbloc_kit init [feature]command is available. - Added the
yamldependency, used byinitto parseflutter_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 runnablepresentation/<feature>(state/event/bloc/screen),di/injector.dart, andcore/routing/route_paths.dart+router.dart(go_router) scaffolding, without overwriting existing files. Feature name defaults tohome. Folder structure matches the provider/riverpod kits. initnow automatically runsflutter pub addforgo_router.flutter_blocis already re-exported and providesBlocProvider, soprovideris 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. Configuredflutter_basic_kit_libraryandflutter_blocdependencies. - Structured
example/into data/domain/presentation/di layers and added a mock-datasource-based photo search (home) feature.