pipouch 0.0.1 copy "pipouch: ^0.0.1" to clipboard
pipouch: ^0.0.1 copied to clipboard

A comprehensive collection of Flutter helpers, extensions, functions, and reusable widgets to accelerate your app development.

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.0.1 - 2025-05-31 #

Added #

  • Initial Release of PiPouch Package.
  • Extensions:
    • PiResponseExtension on dio.Response: Adds isTokenExpired, isSuccess, isNotFound getters, and statusCodeMessage for easy API response handling and localized status messages.
    • PiNumberExtension on num?: Adds toShortK (formats numbers to 'K'), toRupiah, and toRupiahNoSymbol for Rupiah currency formatting.
    • IterationExtension on Iterable<E>: Adds mapIndexed for iteration with an index.
    • PiColorExtension on Color: Adds isDark and isLight getters to determine color darkness/lightness.
    • PiFileExtension on File?: Adds toSizeInMB, toSizeInKB to get file sizes, and toBase64 for Base64 conversion.
    • PiDateTimeExtension on DateTime: Adds toFormattedString, toTimeString, toDateStringDDMMMMYYYY for date/time formatting, and toTimeAgo for localized relative time representation.
    • PiStringExtension on String & String?: A rich collection of string utilities, including type conversions (toInt, toDouble, toBoolean), phone number formatting (toCCPhoneNumber), various capitalization methods (toCapitalize, toTitleCase, extCapitalizeFirstLetter, toCapitalizeTitle), date/time conversions (toDateTime, toFormattedDate, toDateLocale), character manipulation (toReplaceSpecialChar, replaceLetterToNumber, replaceNumberToLetter, toInitialWord), and file type checks (isImage, isSVG, isLottie).
    • StringNullExtension on String?: Adds toEmptyNullReplacement and isEmptyOrNull for null/empty string handling.
    • PiDurationExtension on Duration: Adds toRemaining to format durations into human-readable, localized remaining time strings.
    • PiWidgetExtension on Widget: Adds extensions for UI modifications like innerShadow, backgroundColor, borderRadius, margin, shimmer (requires shimmer package), and semantics.
  • Custom Widgets:
    • PiButton: A highly customizable button widget with various shape, color, size, state (e.g., loading/disabled), layout, type (visual style), and loadingType (loading indicator type).

Fixed #

  • No fixes applied in the initial release.

Changed #

  • No changes applied in the initial release.

Removed #

  • No features removed in the initial release.
1
likes
160
points
5
downloads

Documentation

API reference

Publisher

verified publisherpipo.my.id

Weekly Downloads

A comprehensive collection of Flutter helpers, extensions, functions, and reusable widgets to accelerate your app development.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter, intl, shimmer

More

Packages that depend on pipouch