Skip to content

Feature/localization and rtl support#39

Open
AHMED-HOMISHAN wants to merge 4 commits intoicemanbsi:masterfrom
AHMED-HOMISHAN:feature/localization-and-rtl-support
Open

Feature/localization and rtl support#39
AHMED-HOMISHAN wants to merge 4 commits intoicemanbsi:masterfrom
AHMED-HOMISHAN:feature/localization-and-rtl-support

Conversation

@AHMED-HOMISHAN
Copy link

Overview

This Pull Request introduces comprehensive support for RTL languages (like Arabic) and modernizes the package by migrating it to Null Safety and improving its lifecycle management.

Key Changes

  • RTL & Localization: - Added locale property to support different language formats.
    • Integrated the intl package for robust localization handling.
    • Implemented dynamic layout direction (RTL/LTR) based on the provided locale.
  • Customization: - Added amText and pmText properties to allow developers to translate or customize AM/PM labels.
  • Maintenance & Stability:
    • Null Safety Migration: Fully updated the codebase to support the latest Dart standards.
    • Lifecycle Fix: Updated didUpdateWidget to ensure the time picker reflects property changes dynamically without requiring a full rebuild.

Closes #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Arabic and Custom Localization (RTL Support)

1 participant

Comments