core_kit 1.0.6+1
core_kit: ^1.0.6+1 copied to clipboard
A Flutter package bundling production-ready UI widgets, responsive layout helpers, Dio-based networking with token refresh, secure storage, and authentication modules.
1.0.6+1 #
- New Validation Type (
usernameAndEmailValidation): AddedCkValidationType.usernameAndEmailValidationtoCkTextField, allowing a single field to accept either a valid username or a valid email address. - Documentation — Mock Auth: Corrected the auth mock docs to use
mockAuth: true(replacing the staleauthEnable: falsereferences). - Documentation — Template Setup: Expanded the template quick-start steps to include
fvm dart run build_runner build(required for AutoRoute code generation) andfvm flutter run, with a clear explanation of when to re-runbuild_runner.
1.0.6 #
- CkAppBar Initialization Fix: Resolved a
LateInitializationError: Field 'appbarConfig' has not been initializedcrash that occurred when renderingCkAppBaron initial routes (such as a Splash Screen) beforeCoreKitRouterGatecompleted its asynchronous initialization.appbarConfignow defaults to a safe instance ofCkAppBarConfig(). - Auth Mock Mode Enhancements (
mockAuth):- Renamed the
authEnableconfiguration parameter tomockAuth(inverting logic for improved semantic clarity). - Updated
signInandsignUpmocks to seamlessly bypass OTP dialog triggers whenshowOtpVerificationis not implemented in the application handlers. - Added a
mockAuthcheck inrestoreSessionto prevent profile fetch failures to blank URLs upon hot restarts.
- Renamed the
1.0.5 #
- State Abbreviation Support & Data Class: Updated
CkStateDropDowncallbacks (onChanged,selectedItemBuilder,nameBuilder) to passCkStateDropDownItemPropertycontaining bothstateNameandabbreviation. - Flexible Initial Selection: Added
initialStateparameter toCkStateDropDownaccepting either full state name (e.g.'California') or state abbreviation (e.g.'CA'). - Smart City Dropdown: Updated
CkCityDropDown'sselectedStateparameter to seamlessly handle state abbreviations as well as state names. - Built-in Abbreviation Dataset: Added
StateAbbreviationsdataset supporting automatic abbreviation lookups for US States, Canadian Provinces, and Australian States.
1.0.4 #
- Warning fixed: Fixed linting warnings in
ck_auth_service.dartandrequest_builder.dart.
1.0.3 #
- License Update: Changed package license to MIT.
1.0.2 #
- Web & Multi-Platform Support: Replaced native
dart:ioimports withuniversal_ioto ensure seamless compatibility across all platforms, including Flutter Web. - Resolved Dependency Conflicts: Downgraded to stable releases of
file_picker(^11.0.2) andshare_plus(^12.0.2) to resolve win32 compatibility issues for web and desktop platforms. - Example App: Added a full Flutter example application demonstrating core layout helpers,
CkTransport,CkStorage,CkListViewpagination,CkAppBar, and form validations. - Dartdoc Documentation: Added comprehensive documentation comments to public APIs including
CoreKit,CoreKitConfig,CkResponse,CkTransportConfig, and others. - Design Guidelines: Documented best practices in
README.mdfor using native-likeCkwidgets and correctly applying responsive extensions (.w,.h,.sp,.r).