core_kit 1.0.6+2 copy "core_kit: ^1.0.6+2" to clipboard
core_kit: ^1.0.6+2 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+2 #

  • CkAppBar Title Alignment Fix: Fixed an issue where global app bar title alignment configured via CoreKitConfig was not being applied.

1.0.6+1 #

  • New Validation Type (usernameAndEmailValidation): Added CkValidationType.usernameAndEmailValidation to CkTextField, 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 stale authEnable: false references).
  • Documentation — Template Setup: Expanded the template quick-start steps to include fvm dart run build_runner build (required for AutoRoute code generation) and fvm flutter run, with a clear explanation of when to re-run build_runner.

1.0.6 #

  • CkAppBar Initialization Fix: Resolved a LateInitializationError: Field 'appbarConfig' has not been initialized crash that occurred when rendering CkAppBar on initial routes (such as a Splash Screen) before CoreKitRouterGate completed its asynchronous initialization. appbarConfig now defaults to a safe instance of CkAppBarConfig().
  • Auth Mock Mode Enhancements (mockAuth):
    • Renamed the authEnable configuration parameter to mockAuth (inverting logic for improved semantic clarity).
    • Updated signIn and signUp mocks to seamlessly bypass OTP dialog triggers when showOtpVerification is not implemented in the application handlers.
    • Added a mockAuth check in restoreSession to prevent profile fetch failures to blank URLs upon hot restarts.

1.0.5 #

  • State Abbreviation Support & Data Class: Updated CkStateDropDown callbacks (onChanged, selectedItemBuilder, nameBuilder) to pass CkStateDropDownItemProperty containing both stateName and abbreviation.
  • Flexible Initial Selection: Added initialState parameter to CkStateDropDown accepting either full state name (e.g. 'California') or state abbreviation (e.g. 'CA').
  • Smart City Dropdown: Updated CkCityDropDown's selectedState parameter to seamlessly handle state abbreviations as well as state names.
  • Built-in Abbreviation Dataset: Added StateAbbreviations dataset supporting automatic abbreviation lookups for US States, Canadian Provinces, and Australian States.

1.0.4 #

  • Warning fixed: Fixed linting warnings in ck_auth_service.dart and request_builder.dart.

1.0.3 #

  • License Update: Changed package license to MIT.

1.0.2 #

  • Web & Multi-Platform Support: Replaced native dart:io imports with universal_io to ensure seamless compatibility across all platforms, including Flutter Web.
  • Resolved Dependency Conflicts: Downgraded to stable releases of file_picker (^11.0.2) and share_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, CkListView pagination, 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.md for using native-like Ck widgets and correctly applying responsive extensions (.w, .h, .sp, .r).
11
likes
0
points
414
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package bundling production-ready UI widgets, responsive layout helpers, Dio-based networking with token refresh, secure storage, and authentication modules.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

android_id, cached_network_image, dio, file_picker, flutter, flutter_country_state, flutter_html, flutter_reorderable_grid_view, flutter_secure_storage, flutter_svg, http, http_parser, image_picker, intl, intl_phone_field_v2, path, path_provider, permission_handler, share_plus, shared_preferences, skeletonizer, universal_io, uuid

More

Packages that depend on core_kit