Skip to main content

super_daily_extensions 1.1.3 copy "super_daily_extensions: ^1.1.3" to clipboard
super_daily_extensions: ^1.1.3 copied to clipboard

A Flutter toolkit featuring country & city pickers, form validators, universal auto-masking, custom UI widgets, and daily developer extensions.

1.1.3 #

  • 👨‍💻 Moved official Developer Author & Contact section to the top of README.md.
  • 📝 Updated package description and discovery topics in pubspec.yaml to highlight form validation, auto-masking, and custom UI widgets.

1.1.2 #

  • 👨‍💻 Added official Developer Author & Contact details.

1.1.1 #

  • 📸 Updated documentation screenshot URLs to direct absolute raw repository paths for seamless rendering on pub.dev.
  • 📏 Added CustomSizedBox widget and enhanced spacing getters (heightBox, widthBox, squareBox).
  • 🌍 Added interactive country format switcher for National ID in the example app.

1.1.0 #

  • 🛡️ Added Complete Form Validation Suite:
    • FormValidationExtensions on String?: .validateRequired(), .validateEmail(), .validatePassword(), .validateMatch(), .validateMinLength(), .validateMaxLength(), .validateNumeric(), .validatePhone(), .validateUrl(), .validateCNIC(), .validateNationalId().
    • FormValidators class: .required(), .email(), .password(), .confirmPassword(), .phone(), .cnic(), .nationalId(), .multiple().
    • Customizable ID length and ranges for any country (e.g. length: 11, length: 9, length: 13, minLength, maxLength).
  • 🎭 Added Universal Auto-Masking:
    • CustomTextField(mask: '...') automatically formats input as user types for any country pattern (e.g. #####-#######-#, ###-###-###, #### #### #### ####).
    • SuperMaskFormatter & SuperMask presets for Pakistan CNIC, UAE Emirates ID, US SSN, India Aadhaar, Credit Cards, Dates, etc.
    • String.cleanDigits and .unmaskWith(mask) helper extensions.
  • 👁️ Added Password Visibility Toggle:
    • CustomTextField.password() constructor and isPassword: true flag with automatic eye icon show/hide toggle.
    • Customizable eye icons (obscureIcon, visibleIcon) and eyeIconColor.
  • 🎨 Added Full Customization Suite for CustomTextField:
    • borderRadius, borderWidth, fillColor, borderColor, focusedBorderColor, focusedBorderWidth, errorBorderColor.
    • cursorColor, textColor, textStyle, hintColor, hintStyle, labelColor, labelStyle, prefixIconColor, suffixIconColor.
    • maxLength, showCounter, inputFormatters, maxLengthEnforcement.
  • ⌨️ Added Keyboard & Theme Shortcuts on BuildContext:
    • context.isKeyboardOpen, context.keyboardHeight, context.hideKeyboard().
    • context.isLightMode, context.secondaryColor, context.scaffoldBackgroundColor, context.cardColor.
  • 📏 Added CustomSizedBox & Enhanced Spacing Extensions:
    • CustomSizedBox(height: 6), CustomSizedBox.height(14), CustomSizedBox.width(8), CustomSizedBox.square(20), CustomSizedBox.shrink().
    • num.heightBox, num.widthBox, num.squareBox alongside num.h and num.w for clean, expressive UI spacing.
  • 🛡️ Fixed layout resilience in CustomButton:
    • Uses LayoutBuilder to safely wrap content when placed in unbounded flex contexts (Row) without throwing infinite width exceptions.

1.0.2 #

  • 🎨 Set Custom Buttons & TextFields as primary spotlight screenshot in package metadata and documentation.

1.0.1 #

  • 📦 Expanded intl dependency constraint to ">=0.19.0 <0.21.0" to support latest stable versions and resolve pana 160/160 compatibility.

1.0.0 #

  • 🚀 Added 11 professional UI widgets & components:
    • CustomButton (primary, outlined, text, loading indicator, responsive sizing).
    • CustomContainer (responsive percentages w/h, shadows, gradients, safe padding resolution).
    • CustomText (semantic typographic variants with .heading(), .subheading(), .body(), .caption()).
    • CustomTextField (status borders, variants, responsive padding).
    • CustomAlertDialog (backdrop blur animated dialogs with semantic types).
    • CustomSnackBar (floating styled snackbars via context or global messenger key).
    • CustomDatePickerField, CustomTimePickerField, CustomDateRangePicker (clean intl-powered form pickers).
    • CustomImagePreview (base64/memory thumbnails with pinch-to-zoom full-screen viewer).
    • ProfessionalDataTable (sortable, striped, hover effects, dual-axis scrolling).
  • ⚡ Added comprehensive UI extension methods:
    • context.showSuccessDialog(), context.showErrorDialog(), context.showConfirmDialog().
    • context.showCustomSnackBar(), context.pickDate(), context.pickTime(), context.pickDateRange().
    • widget.toCustomContainer().
    • 'string'.toHeading(), 'string'.toSubheading(), 'string'.toBody(), 'string'.toCaption().
    • dateTime.toDisplayDate(), timeOfDay.formatPattern().
  • 🛠️ Upgraded Flutter APIs to modern standard (WidgetStateProperty, .withValues(), dataRowMinHeight).
  • 📦 Added intl dependency for robust date/time formatting.
3
likes
160
points
189
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter toolkit featuring country & city pickers, form validators, universal auto-masking, custom UI widgets, and daily developer extensions.

Homepage
Repository (GitHub)
View/report issues

Topics

#country #validation #dropdown #extensions #widget

License

MIT (license)

Dependencies

cupertino_icons, flutter, intl

More

Packages that depend on super_daily_extensions