wonzy_core_utils 0.2.1 copy "wonzy_core_utils: ^0.2.1" to clipboard
wonzy_core_utils: ^0.2.1 copied to clipboard

Flutter/Dart extensions and reusable widgets for rapid UI development. Context helpers, navigation shortcuts, text builders, layout extensions, and customizable widgets.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.2.1 - 2026-02-24 #

Fixed #

  • pubspec.yaml description length reduced to comply with pub.dev 60-180 character limit.
  • Local variables changed to final in string_extensions.dart (toUsername, toGmail).
  • Container replaced with DecoratedBox in images_extensions.dart (bordered, shadow).
  • Widget sheet changed to final Widget sheet in costum_bottom_sheet.dart.
  • Added missing const constructors in layout_extensions_test.dart.

0.2.0 - 2025-02-20 #

Added #

  • CustomTextField — Production-ready, type-driven smart text field built on FormBuilderTextField.
    • CustomFieldType enum (text, email, phone, password, number, studentNumber) with automatic keyboard, autofill, obscure, and validation defaults.
    • Password show/hide toggle icon.
    • Clear (×) button support (with controller).
    • nextFocusNode for automatic focus transition on submit.
    • valueTransformer for pre-save value transformation (trim, lowercase, etc.).
    • Turkish error messages by default; all overridable.
    • Full InputDecoration customization support.
    • Custom validator composition via FormBuilderValidators.compose.

Changed #

  • Moved flutter_form_builder and form_builder_validators from dev_dependencies to dependencies (required by CustomTextField).

0.1.0 - 2025-02-18 #

Added #

  • Context ExtensionsBuildContext shortcuts for screen size, theme, color scheme, and text theme.
  • Layout ExtensionsColumn/Row cross-axis & main-axis alignment helpers; List<Widget>.column() / .row() builders with spacing support.
  • Navigation ExtensionspushPage, pop, pushReplacementPage, pushAndRemoveUntilPage, named route shortcuts on BuildContext.
  • Route TransitionsRouteTransitions class with fade, slide, scale, rotation, size, and combined transition builders.
  • Primitive Extensions
    • num.h, .w (SizedBox spacing), .all, .horizontal, .vertical (EdgeInsets), .radius (BorderRadius), .ms, .seconds (Duration).
    • Stringcapitalize, toTitleCase, toSnakeCase, toCamelCase, validators (isNumeric, isAlphabetic, etc.), toTurkishPhoneFormat, toUsername, toGmail, and more.
    • TextBuilder — Chainable text widget builder: "Hello".text.bold.headline4(context).color(Colors.red).
  • Utility ExtensionsString logging helpers: debugLog(), infoLog(), warningLog(), errorLog().
  • Widget Extensions
    • Padding & Margin — .paddingAll(), .paddingHorizontal(), .marginAll(), etc.
    • Alignment — .center, .alignLeft, .alignRight, .alignTop, .alignBottom.
    • Container — .container() all-in-one wrapper.
    • Expanded / Flexible — .expanded(), .flexible().
    • Size — .sized(), .square(), .expandedWidth, .constrained().
    • Image — .rounded(), .circular(), .bordered(), .circleAvatar(), .shadow(), and more.
    • Decoration — .roundedBox(), .withBackground(), .onTap(), .withVisibility(), .withOpacity(), .withTooltip(), .withHero().
  • Reusable Widgets
    • CostumAppBar — Fully customizable AppBar with gradient, shape, bottom separator support.
    • CostumBottomSheet — Feature-rich bottom sheet with draggable, scrollable, action buttons support.
    • CostumButton — General purpose button with loading state, gradient, icon support.
    • CostumIconButton — Circular icon button with badge, gradient, loading state support.
1
likes
0
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter/Dart extensions and reusable widgets for rapid UI development. Context helpers, navigation shortcuts, text builders, layout extensions, and customizable widgets.

Repository (GitHub)
View/report issues

Topics

#extensions #widget #ui #utilities

License

unknown (license)

Dependencies

flutter, flutter_form_builder, form_builder_validators

More

Packages that depend on wonzy_core_utils